Rust: Difference between revisions
m →To Windows via a cargo plugin:: fix example to show that using a target is required |
m fix typo bindgen misspelled as bindegen |
||
| Line 37: | Line 37: | ||
== Installating with bindgen support == | == Installating with bindgen support == | ||
By default crates using <code>bindgen</code> will not compile. To add | By default crates using <code>bindgen</code> will not compile. To add bindgen support add the <code>rustPlatform.bindgenHook</code> to your <code>nativeBuildInputs</code>. | ||
Here's an example <code>shell.nix</code>: | Here's an example <code>shell.nix</code>: | ||