mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2024-12-04 05:22:20 +00:00
Bump bindgen version.
NOTE: For $REASONS (see https://github.com/rust-lang/rust-bindgen/issues/1587), this is not the actual commit that is tagged on the release.
This commit is contained in:
parent
dbe5bab3e8
commit
231bce8ba3
19
CHANGELOG.md
19
CHANGELOG.md
@ -105,6 +105,25 @@ Released YYYY/MM/DD
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# 0.49.3
|
||||
|
||||
Released 2019/06/25
|
||||
|
||||
## Added
|
||||
|
||||
* Various bindgen auto-generated types are now constructible in `const fn`
|
||||
contexts [#1571][]
|
||||
|
||||
* It is possible to generate `#[non_exhaustive]` enums for rust nightly targets.
|
||||
[#1575][]
|
||||
|
||||
* It is possible to avoid building clap now if you're using bindgen as
|
||||
a library. [#1581][].
|
||||
|
||||
[#1571]: https://github.com/rust-lang/rust-bindgen/issues/1571
|
||||
[#1575]: https://github.com/rust-lang/rust-bindgen/issues/1575
|
||||
[#1581]: https://github.com/rust-lang/rust-bindgen/issues/1581
|
||||
|
||||
# 0.49.2
|
||||
|
||||
Released 2019/05/22
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -49,7 +49,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "bindgen"
|
||||
version = "0.49.2"
|
||||
version = "0.49.3"
|
||||
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)",
|
||||
|
@ -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.49.2"
|
||||
version = "0.49.3"
|
||||
build = "build.rs"
|
||||
|
||||
include = [
|
||||
|
@ -4,12 +4,12 @@ First we need to declare a build-time dependency on `bindgen` by adding it to
|
||||
the `[build-dependencies]` section of our crate's `Cargo.toml` file.
|
||||
|
||||
Please always use the latest version of `bindgen`, it has the most fixes and
|
||||
best compatibility. At the time of writing the latest bindgen is `0.49.2`, but
|
||||
best compatibility. At the time of writing the latest bindgen is `0.49.3`, but
|
||||
you can always check [the bindgen page of
|
||||
crates.io](https://crates.io/crates/bindgen) to verify the latest version if
|
||||
you're unsure.
|
||||
|
||||
```toml
|
||||
[build-dependencies]
|
||||
bindgen = "0.49.2"
|
||||
bindgen = "0.49"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user