Encoded CARGO_TARGET_<triple>_RUSTFLAGS
just like CARGO_ENCODED_RUSTFLAGS
? #14398
Open
Description
opened on Aug 14, 2024
Problem
According to https://doc.rust-lang.org/cargo/reference/environment-variables.html there's CARGO_ENCODED_RUSTFLAGS
to properly escape independent arguments with separators, when those arguments themselves (i.e. file paths) already contain spaces. However, no similar environment argument appears to exist for CARGO_TARGET_<triple>_RUSTFLAGS
so that I cannot set up per-target RUSTFLAGS
containing arguments with spaces.
Proposed Solution
Would it be possible to add CARGO_TARGET_<triple>_ENCODED_RUSTFLAGS
?
Notes
No response
Activity