summary refs log tree commit diff
path: root/doc/languages-frameworks/rust.section.md
diff options
context:
space:
mode:
authorAaron Janse <aaron@ajanse.me>2020-10-17 00:48:07 -0700
committerAaron Janse <aaron@ajanse.me>2020-10-17 00:48:07 -0700
commit2bccf2e554d8fdb630f44181cf1ef787df6fb6b6 (patch)
tree2ce52b063ce4b763cd9f9c35ce3c3de855be0f96 /doc/languages-frameworks/rust.section.md
parent7c92361028555ea0fcb0da0a8ce059e52ee4d1a8 (diff)
downloadnixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar.gz
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar.bz2
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar.lz
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar.xz
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.tar.zst
nixpkgs-2bccf2e554d8fdb630f44181cf1ef787df6fb6b6.zip
add documentation
Diffstat (limited to 'doc/languages-frameworks/rust.section.md')
-rw-r--r--doc/languages-frameworks/rust.section.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 0f3cc5d8efb..784a4603098 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -123,6 +123,9 @@ build the Rust tools and standard library crates separately so there is no
 reason not to take the `stdenv.hostPlatform.rustc`-modifying approach, and the
 ad-hoc escape hatch to `buildRustPackage` can be removed.
 
+Note that currently custom targets aren't compiled with `std`, so `cargo test`
+will fail. This can be ignored by adding `doCheck = false;` to your derivation.
+
 ### Running package tests
 
 When using `buildRustPackage`, the `checkPhase` is enabled by default and runs