Skip to content

Commit 999d1cb

Browse files
committed
build: Use patched cargo-bindgen for native32
Workaround-For: rust-lang/rust-bindgen#2991
1 parent 815354b commit 999d1cb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ riot-build = { version = "< 0.2.0", optional = true }
2424
riot-rs-core = { version = "< 0.2.0", optional = true }
2525

2626
[build-dependencies]
27-
bindgen = "^0.72.0"
27+
# Generally that is 0.72.1 plus some recent changes -- but the one thing that
28+
# matters over 0.72.1 is that it merges
29+
# <https://github.com/rust-lang/rust-bindgen/pull/2403> to fix
30+
# <https://github.com/rust-lang/rust-bindgen/issues/2991>, which affects only
31+
# native32.
32+
bindgen = { git = "https://github.com/chrysn-pull-requests/rust-bindgen", branch = "extended-floats"}
2833
shlex = "^1.3"
2934
serde_json = "1"
3035
serde = { version = "1", features = [ "derive" ] }

0 commit comments

Comments
 (0)