about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-31 23:39:38 +0200
committerGitHub <noreply@github.com>2022-07-31 23:39:38 +0200
commite820ecdba115e56d3d1cb0df169463a23a28fabd (patch)
tree37b65f75c372f11543405fc80fe66fcc2a02bfc3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3405e402faf413ef4633142225228c260a91dd9d (diff)
parentebf4cc361e0d0f11a25b42372bd629953365d17e (diff)
downloadrust-e820ecdba115e56d3d1cb0df169463a23a28fabd.tar.gz
rust-e820ecdba115e56d3d1cb0df169463a23a28fabd.zip
Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov
Remove implicit names and values from `--cfg` in `--check-cfg`

This PR remove the implicit names and values from `--cfg` in `--check-cfg` because the behavior is quite surprising but also because it's really easy to inadvertently really on the implicitness and when the `--cfg` is not set anymore to have an unexpected warning from an unexpected condition that pass with the implicitness.

This change in behavior will also enable us to warn when an unexpected `--cfg` is passed, ex: the user wrote `--cfg=unstabl` instead of `--cfg=unstable`. The implementation of the warning will be done in a follow-up PR.

cc `@petrochenkov`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions