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
Problem
According to https://doc.rust-lang.org/cargo/reference/environment-variables.html there's
CARGO_ENCODED_RUSTFLAGSto 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 forCARGO_TARGET_<triple>_RUSTFLAGSso that I cannot set up per-targetRUSTFLAGScontaining arguments with spaces.Proposed Solution
Would it be possible to add
CARGO_TARGET_<triple>_ENCODED_RUSTFLAGS?Notes
No response