Codebase list rust-stfu8 / f0ad6b1
nettle-sys: bump bindgen to 0.53.1, up to 0.55.x bindgen 0.53.0 introduced a change in how size_t is mapped: https://github.com/rust-lang/rust-bindgen/issues/1671 This change would produce an API change in any bindgen-created modules, and is not relevant on any of the platforms that we target (maybe not on any platform in existence). bindgen 0.53.1 introduced size_t_is_usize() to revert to the old behavior, which should keep the nettle-sys API stable. See also https://gitlab.com/sequoia-pgp/nettle-sys/-/merge_requests/7 where i'm trying to get this same change adopted upstream. Daniel Kahn Gillmor 3 years ago
3 changed file(s) with 31 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 rust-nettle-sys (2.0.4-5) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package nettle-sys 2.0.4 from crates.io using debcargo 2.4.3
3 * relax dependency on bindgen to enable working with bindgen 0.55.x
4
5 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 16 Oct 2020 08:28:23 -0400
6
07 rust-nettle-sys (2.0.4-4) unstable; urgency=medium
18
29 * Package nettle-sys 2.0.4 from crates.io using debcargo 2.4.3
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -26,7 +26,7 @@
3
4 [dependencies]
5 [build-dependencies.bindgen]
6 -version = "0.51.1"
7 +version = ">= 0.53.1, < 0.56"
8 default-features = false
9
10 [build-dependencies.pkg-config]
11 --- a/build.rs
12 +++ b/new.build.rs
13 @@ -64,7 +64,8 @@
14 // Includes all nettle headers except mini-gmp.h
15 .header("bindgen-wrapper.h")
16 // Workaround for https://github.com/rust-lang-nursery/rust-bindgen/issues/550
17 - .blacklist_type("max_align_t");
18 + .blacklist_type("max_align_t")
19 + .size_t_is_usize(true);
20
21 for p in nettle.include_paths {
22 builder = builder.clang_arg(format!("-I{}", p.display()));
00 disable-vendor.diff
1 bump-bindgen.patch