Skip to content

Commit

Permalink
Merge pull request godot-rust#268 from toasteater/doc/bindgen-clang-dep
Browse files Browse the repository at this point in the history
Add information on bindgen's dependencies in README.
  • Loading branch information
toasteater committed Dec 29, 2019
2 parents ba88f6f + 032d052 commit b20b66f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ The bindings, while usable, are a work in progress. Some APIs are missing and th

## Usage

Add the `gdnative` crate as a dependency, and set the crate type to `cdylib`:
The generator makes use of `bindgen`, which depends on Clang. Instructions for installing `bindgen`'s dependencies for popular OSes can be found in their documentation: https://rust-lang.github.io/rust-bindgen/requirements.html.

After `bindgen` dependencies are installed, add the `gdnative` crate as a dependency, and set the crate type to `cdylib`:

```toml
[dependencies]
Expand Down

0 comments on commit b20b66f

Please sign in to comment.