From 00ff46e530fa0a2f62d002a5550016cf0a19bed0 Mon Sep 17 00:00:00 2001 From: Jianguo Bao Date: Tue, 19 Sep 2023 23:25:59 +0800 Subject: [PATCH 1/2] Fix bindgen-cli support link static libclang --- bindgen-cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindgen-cli/Cargo.toml b/bindgen-cli/Cargo.toml index 72e231cf02..07e7786113 100644 --- a/bindgen-cli/Cargo.toml +++ b/bindgen-cli/Cargo.toml @@ -20,7 +20,7 @@ path = "main.rs" name = "bindgen" [dependencies] -bindgen = { path = "../bindgen", version = "=0.68.1", features = ["__cli", "experimental"] } +bindgen = { path = "../bindgen", version = "=0.68.1", default-features = false, features = ["__cli", "experimental"] } clap = { version = "4", features = ["derive"] } clap_complete = "4" env_logger = { version = "0.10.0", optional = true } From 0864a8cc1c065878caca7c98cbc5d39cb6816f52 Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Tue, 19 Sep 2023 12:22:20 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b536800fe..c4d8294afe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -183,6 +183,7 @@ argument use `void` as its sole argument. ## Removed ## Fixed +- Allow compiling `bindgen-cli` with a static libclang. ## Security # 0.68.1