Add a setting to GetStarted to build crate into a dynamic library.

This commit is contained in:
Yuta Hinokuma 2023-04-25 19:56:22 +09:00 committed by GitHub
parent 910cfb6fd3
commit 6503d1c738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
``` ```