mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
38ac331f7d
4784: Change management of test cfg to better support json projects r=Nashenas88 a=Nashenas88 This helps support json projects where they can decide whether to add the `test` cfg or not. One alternative is to add support for marking json project crates as a sysroot crate, and adding logic to remove the `test` cfg in those cases. In my opinion, that option gives less flexibility to json projects and leads to more functionality that needs to be maintained. Fixes #4508 cc @woody77 Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com> Co-authored-by: Paul Daniel Faria <nashenas88@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
tests/heavy_tests | ||
build.rs | ||
Cargo.toml |