mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +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> |
||
---|---|---|
.. | ||
src | ||
tests/slow-tests | ||
build.rs | ||
Cargo.toml |