From ce1b05f2ea1748ca9f5c514bf66336f39d99ebea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sun, 17 Mar 2019 17:45:26 +0100 Subject: [PATCH 1/3] Bump clang-sys to 0.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert-André Mauchin --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2f653dcf43..0a28648d78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ cexpr = "0.3.3" cfg-if = "0.1.0" # This kinda sucks: https://github.com/rust-lang/cargo/issues/1982 clap = "2" -clang-sys = { version = "0.26.4", features = ["runtime", "clang_6_0"] } +clang-sys = { version = "0.28.0", features = ["runtime", "clang_6_0"] } lazy_static = "1" peeking_take_while = "0.1.2" quote = { version = "0.6", default-features = false } From 7b63336df4e48c0a3ef7702b80d7960db1fffacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 27 Mar 2019 00:50:29 +0100 Subject: [PATCH 2/3] Update lockfile for #1539. Closes #1539. --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39180066c8..405ce1a3d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -54,7 +54,7 @@ dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)", + "clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -99,7 +99,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "clang-sys" -version = "0.26.4" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", @@ -415,7 +415,7 @@ dependencies = [ "checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16" "checksum cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8fc0086be9ca82f7fc89fc873435531cb898b86e850005850de1f820e2db6e9b" "checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3" -"checksum clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6ef0c1bcf2e99c649104bd7a7012d8f8802684400e03db0ec0af48583c6fa0e4" +"checksum clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4227269cec09f5f83ff160be12a1e9b0262dd1aa305302d5ba296c2ebd291055" "checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" "checksum diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "3c2b69f912779fbb121ceb775d74d51e915af17aaebc38d28a592843a2dd0a3a" "checksum env_logger 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "afb070faf94c85d17d50ca44f6ad076bce18ae92f0037d350947240a36e9d42e" From 274c25c8096b6d3b819ae43e842c937cf5a63259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 27 Mar 2019 00:52:08 +0100 Subject: [PATCH 3/3] Version bump. --- CHANGELOG.md | 89 +++++++++++++++++++++++++++++++++++----------------- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 63 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe3dff50d8..90ba53e0ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,56 +9,62 @@ - [Removed](#removed) - [Fixed](#fixed) - [Security](#security) -- [0.48.0](#0480) - - [Changed](#changed-1) +- [0.49.0](#0490) + - [Added](#added-1) - [Fixed](#fixed-1) -- [0.47.3](#0473) + - [Changed](#changed-1) +- [0.48.1](#0481) + - [Fixed](#fixed-2) +- [0.48.0](#0480) - [Changed](#changed-2) + - [Fixed](#fixed-3) +- [0.47.3](#0473) + - [Changed](#changed-3) - [0.47.2](#0472) - - [Fixed](#fixed-2) + - [Fixed](#fixed-4) - [0.47.1](#0471) - - [Changed](#changed-3) - - [Fixed](#fixed-3) -- [0.47.0](#0470) - [Changed](#changed-4) - - [Fixed](#fixed-4) -- [0.33.1 .. 0.46.0](#0331--0460) - - [Added](#added-1) - - [Removed](#removed-1) - - [Changed](#changed-5) - [Fixed](#fixed-5) -- [0.33.1](#0331) +- [0.47.0](#0470) + - [Changed](#changed-5) - [Fixed](#fixed-6) -- [0.33.0](#0330) +- [0.33.1 .. 0.46.0](#0331--0460) - [Added](#added-2) + - [Removed](#removed-1) - [Changed](#changed-6) + - [Fixed](#fixed-7) +- [0.33.1](#0331) + - [Fixed](#fixed-8) +- [0.33.0](#0330) + - [Added](#added-3) + - [Changed](#changed-7) - [Deprecated](#deprecated-1) - [Removed](#removed-2) - - [Fixed](#fixed-7) + - [Fixed](#fixed-9) - [Security](#security-1) - [0.32.2](#0322) - - [Fixed](#fixed-8) + - [Fixed](#fixed-10) - [0.32.1](#0321) - - [Fixed](#fixed-9) + - [Fixed](#fixed-11) - [0.32.0](#0320) - - [Added](#added-3) - - [Changed](#changed-7) - - [Fixed](#fixed-10) -- [0.31.0](#0310) - [Added](#added-4) - [Changed](#changed-8) + - [Fixed](#fixed-12) +- [0.31.0](#0310) + - [Added](#added-5) + - [Changed](#changed-9) - [Deprecated](#deprecated-2) - [Removed](#removed-3) - - [Fixed](#fixed-11) + - [Fixed](#fixed-13) - [0.30.0](#0300) - - [Added](#added-5) - - [Changed](#changed-9) - - [Deprecated](#deprecated-3) - - [Fixed](#fixed-12) -- [0.29.0](#0290) - [Added](#added-6) - [Changed](#changed-10) - - [Fixed](#fixed-13) + - [Deprecated](#deprecated-3) + - [Fixed](#fixed-14) +- [0.29.0](#0290) + - [Added](#added-7) + - [Changed](#changed-11) + - [Fixed](#fixed-15) @@ -94,6 +100,33 @@ Released YYYY/MM/DD -------------------------------------------------------------------------------- +# 0.49.0 + +Released 2019/03/27 + +## Added + +* BINDGEN_EXTRA_CLANG_ARGS environment variable was added (thanks @jhwgh1968!). [#1537][] + +## Fixed + +* Bindgen will properly name parameters inside nested function pointer + declarations (thanks @flowbish!). [#1535][] + +## Changed + +* Derive code was greatly improved by @jethrogb. [#1540][] +* Derive analysis now handles trivial types more gracefully. [#1492][] +* clang-sys was updated by @eclipseo. [#1539][] +* bindgen should now get include paths correctly even when `--target` is + specified. The `detect_include_paths` option can be used to opt-out of this + behavior. + +[#1535]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1535 +[#1537]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1537 +[#1540]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1540 +[#1492]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1492 + # 0.48.1 Released 2019/03/06 diff --git a/Cargo.lock b/Cargo.lock index 405ce1a3d4..675a5bf208 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.48.1" +version = "0.49.0" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 0a28648d78..c14e93f34f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" repository = "https://github.com/rust-lang/rust-bindgen" documentation = "https://docs.rs/bindgen" homepage = "https://rust-lang.github.io/rust-bindgen/" -version = "0.48.1" +version = "0.49.0" build = "build.rs" include = [