diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-08 17:20:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-08 17:20:45 +0100 |
commit | 38ac331f7dea94581ec687167c92c65b10daf38d (patch) | |
tree | 7f9cc7d2d7b6dfa363f5a0d310108bad22621291 /crates/ra_proc_macro/src/lib.rs | |
parent | 5ed9818a7c855bf914e91324e305f24e4e743057 (diff) | |
parent | dbceaf522b717bd0dda89f6af1684ebd8e033aee (diff) |
Merge #4784
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 <[email protected]>
Co-authored-by: Paul Daniel Faria <[email protected]>
Diffstat (limited to 'crates/ra_proc_macro/src/lib.rs')
0 files changed, 0 insertions, 0 deletions