From: Jorge Aparicio Date: Wed, 5 Oct 2016 04:59:03 +0000 (-0500) Subject: add documentation about target.$triple.rustflags X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~57^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef727b7d895685b4debce922c7ee45796d76f0f2;p=cargo.git add documentation about target.$triple.rustflags --- diff --git a/src/doc/config.md b/src/doc/config.md index 6a4101992..c542af429 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -69,6 +69,9 @@ linker = ".." # Similar to the above linker configuration, but this only applies to # when the `$triple` is being compiled for. linker = ".." +# custom flags to pass to all compiler invocations that target $triple +# this value overrides build.rustflags when both are present +rustflags = ["..", ".."] # Configuration keys related to the registry [registry]