Unclear documentation around CARGO_BUILD_RUSTFLAGS
#12257
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
A-rustflags
Area: rustflags
C-bug
Category: bug
E-medium
Experience: Medium
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
The documentation for the
build.rustflags
is unclear.I have a
.cargo/config.yml
file that I wish to override with an environment variable. It's unclear ifCARGO_BUILD_RUSTFLAGS
,CARGO_ENCODED_RUSTFLAGS
and theRUSTFLAGS
environment variable will work for this. For reference, it seemsCARGO_BUILD_RUSTFLAGS
doesn't work and theRUSTFLAGS
variable does.It's possible I'm misunderstanding how this feature works from the documentation, but I'm hoping that it can be improved for future users.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: