diff options
author | John Ericson <git@JohnEricson.me> | 2018-12-13 02:05:30 -0500 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-12-18 06:09:34 +0100 |
commit | fcce28f1af9e89cbce9d0c32899af25240c1d751 (patch) | |
tree | c74a4fee0d45d757d49ef9f777c17f4fe28e9da0 /doc/languages-frameworks/rust.section.md | |
parent | 84557733f772f60db1d8a48a5aaeeca9513d56f7 (diff) |
docs: Small change to Rust guide to be more cross friendly
Diffstat (limited to 'doc/languages-frameworks/rust.section.md')
-rw-r--r-- | doc/languages-frameworks/rust.section.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 4549bbd1686b..14b36f55f52f 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -303,11 +303,15 @@ with import <nixpkgs> {}; stdenv.mkDerivation { name = "rust-env"; - buildInputs = [ + nativeBuildInputs = [ rustc cargo - # Example Additional Dependencies - pkgconfig openssl + # Example Build-time Additional Dependencies + pkgconfig + ]; + buildInputs = [ + # Example Run-time Additional Dependencies + openssl ]; # Set Environment Variables |