From a1290224614ea7a797d74e15504433f073c6f2c1 Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Mon, 12 Dec 2022 11:42:31 -0800 Subject: [PATCH 1/2] don't specify default-features = false for bindgen dependency Per https://github.com/rust-lang/rust-bindgen/issues/2030, this seems to interact poorly with other bindgen dependents that also specify `features = ["runtime"]` (and perhaps other dependents that don't specify `default-features = "false"` at all). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 559b7e6..2a1b016 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/nickray/littlefs2-sys" cty = "0.2.1" [build-dependencies] -bindgen = { version = "0.56.0", default-features = false } +bindgen = { version = "0.56.0" } cc = "1" [features] From 4148dea172f6a2c0e0c6aac910c3e6728454f1b3 Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Tue, 13 Dec 2022 11:27:32 -0800 Subject: [PATCH 2/2] update littlefs2-sys bindgen dependency to 0.60 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2a1b016..2948797 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/nickray/littlefs2-sys" cty = "0.2.1" [build-dependencies] -bindgen = { version = "0.56.0" } +bindgen = { version = "0.60", default-features = false } cc = "1" [features]