mirror of
https://github.com/rust-lang/cargo
synced 2024-10-05 15:29:45 +00:00
Add a note about rustflags compatibility.
This commit is contained in:
parent
b1684e2849
commit
2d08c73c28
|
@ -349,6 +349,12 @@ Without `--target`, the flags will be passed to all compiler invocations
|
||||||
you have args that you do not want to pass to build scripts or proc macros and
|
you have args that you do not want to pass to build scripts or proc macros and
|
||||||
are building for the host, pass `--target` with the host triple.
|
are building for the host, pass `--target` with the host triple.
|
||||||
|
|
||||||
|
> **Caution**: Due to the low-level nature of passing flags directly to the
|
||||||
|
> compiler, this may cause a conflict with future versions of Cargo which may
|
||||||
|
> issue the same or similar flags on its own which may interfere with the
|
||||||
|
> flags you specify. This is an area where Cargo may not always be backwards
|
||||||
|
> compatible.
|
||||||
|
|
||||||
##### `build.rustdocflags`
|
##### `build.rustdocflags`
|
||||||
* Type: string or array of strings
|
* Type: string or array of strings
|
||||||
* Default: none
|
* Default: none
|
||||||
|
|
Loading…
Reference in a new issue