[feat] easy LLVM_PROFILE_FILE
config for cargo test
#15186
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Problem
Below workspace config leads to
/path/to/project/crates/hello/target/xxx
under each member cargo toml dir, but not/path/to/project/target/xxx
under top cargo toml dir./path/to/project/.cargo/config.toml
Below workspace config leads to
target/xxx
under top cargo toml dir, but it is a hard coded config./path/to/project/.cargo/config.toml
Proposed Solution
/path/to/project/.cargo/config.toml
Or maybe just add a new field ONLY for
cargo test
, asLLVM_PROFILE_FILE
is not used incargo build
Notes
related env design
https://code.visualstudio.com/remote/advancedcontainers/environment-variables
The text was updated successfully, but these errors were encountered: