parent
43f6f7108e
commit
a4f4d0bf95
@ -27,6 +27,7 @@ cargo install cbindgen
|
||||
```
|
||||
or
|
||||
```
|
||||
# This will update cbindgen if it's already installed
|
||||
cargo install --force cbindgen
|
||||
```
|
||||
|
||||
@ -62,6 +63,10 @@ fn main() {
|
||||
|
||||
```
|
||||
|
||||
You can add configuration options using the [`Builder`](https://docs.rs/cbindgen/*/cbindgen/struct.Builder.html#methods) interface.
|
||||
|
||||
If you'd like to use a `build.rs` script with a `cbindgen.toml`, consider using [`cbindgen::generate()`](https://docs.rs/cbindgen/*/cbindgen/fn.generate.html) instead.
|
||||
|
||||
## Configuration
|
||||
|
||||
There are some options that can be used to configure the binding generation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user