summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-02-13 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-02-22 19:37:07 +0100
commitbedabfbcef9285804729aa78f933d8ceb4897ecf (patch)
treece3c6e768b4cfa71577b35b258be82150913f5b8 /doc
parentd914868235a7791270c4d9fd2bec10f9011b4a8f (diff)
downloadnixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar.gz
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar.bz2
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar.lz
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar.xz
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.tar.zst
nixpkgs-bedabfbcef9285804729aa78f933d8ceb4897ecf.zip
rustPlatform.bindgenHook: init
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/rust.section.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 56faf636df1..e19783e29e6 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -464,6 +464,8 @@ you of the correct hash.
   be disabled by setting `dontUseCargoParallelTests`.
 * `cargoInstallHook`: install binaries and static/shared libraries
   that were built using `cargoBuildHook`.
+* `bindgenHook`: for crates which use `bindgen` as a build dependency, lets
+  `bindgen` find `libclang` and `libclang` find the libraries in `buildInputs`.
 
 ### Examples {#examples}