diff options
| author | Urgau <urgau@numericable.fr> | 2024-02-25 14:56:14 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-04-15 21:49:55 +0200 |
| commit | 909fcfcb6a01b9a811835ba001954e6c62b2a2bc (patch) | |
| tree | b83d43c1e4e41d2f835f5f2d99b3b935a8aa7f93 /tests/ui/check-cfg/values-target-json.rs | |
| parent | 99d0186b1d0547eae913eff04be272c9d348b9b8 (diff) | |
| download | rust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.tar.gz rust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.zip | |
Stabilize checking of cfgs at compile-time: --check-cfg option
Diffstat (limited to 'tests/ui/check-cfg/values-target-json.rs')
| -rw-r--r-- | tests/ui/check-cfg/values-target-json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/values-target-json.rs b/tests/ui/check-cfg/values-target-json.rs index afe6e0aaffd..f3a27043e67 100644 --- a/tests/ui/check-cfg/values-target-json.rs +++ b/tests/ui/check-cfg/values-target-json.rs @@ -2,7 +2,7 @@ // //@ check-pass //@ needs-llvm-components: x86 -//@ compile-flags: --crate-type=lib --check-cfg=cfg() --target={{src-base}}/check-cfg/my-awesome-platform.json -Z unstable-options +//@ compile-flags: --crate-type=lib --check-cfg=cfg() --target={{src-base}}/check-cfg/my-awesome-platform.json #![feature(lang_items, no_core, auto_traits)] #![no_core] |
