mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2025-03-02 11:47:44 +00:00
commit
8779c9167f
@ -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.0`, but
|
||||
best compatibility. At the time of writing the latest bindgen is `0.49.2`, 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.0"
|
||||
bindgen = "0.49.2"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user