mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
1636f61a15
10005: Extend `CargoConfig.unset_test_crates` r=matklad a=regexident This is to allow for efficiently disabling `#[cfg(test)]` on all crates (by passing `unset_test_crates: UnsetTestCrates::All`) without having to first load the crate graph, when using rust-analyzer as a library. (FYI: The change doesn't seem to be covered by any existing tests.) Co-authored-by: Vincent Esche <regexident@gmail.com> |
||
---|---|---|
.. | ||
build_scripts.rs | ||
cargo_workspace.rs | ||
cfg_flag.rs | ||
lib.rs | ||
manifest_path.rs | ||
project_json.rs | ||
rustc_cfg.rs | ||
sysroot.rs | ||
tests.rs | ||
workspace.rs |