mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2025-03-01 03:05:31 +00:00
Clarify/correct command line usage
cargo installs bindgen to the local bin repo and not the current directory.
This commit is contained in:
parent
ac4732079f
commit
f63ed7cce6
@ -151,7 +151,7 @@ include!(concat!(env!("OUT_DIR"), "/example.rs"));
|
||||
$ cargo install bindgen
|
||||
```
|
||||
|
||||
There are a few options documented when running `./bindgen --help`.
|
||||
There are a few options documented when running `bindgen --help`. Bindgen is installed to `~/.cargo/bin`. You have to add that directory to your path to use `bindgen`.
|
||||
|
||||
### C++
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user