mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-23 06:56:27 +00:00
Merge pull request #27 from higumachan/patch-1
Add a setting to GetStarted to build crate into a dynamic library.
This commit is contained in:
commit
1a306d6d12
@ -25,6 +25,9 @@ Getting Started
|
|||||||
Install on `Cargo.toml` as `build-dependencies` and set up `bindgen::Builder` on `build.rs`.
|
Install on `Cargo.toml` as `build-dependencies` and set up `bindgen::Builder` on `build.rs`.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
|
[lib]
|
||||||
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
csbindgen = "1.7.0"
|
csbindgen = "1.7.0"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user