diff options
| author | bors <bors@rust-lang.org> | 2020-05-10 08:25:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-10 08:25:32 +0000 |
| commit | 8d16eeb8c9a8d6d85130b15ec9bd26df55773b12 (patch) | |
| tree | b31597466a498f9d97fe2eb15ce63c6387abe909 /src/test/ui | |
| parent | b3269536d0a883caa0904cf6589aa1310ff70b5e (diff) | |
| parent | 33b6631d9b2c79c548a9abdaf585a230b5f14ad9 (diff) | |
Auto merge of #71775 - petrochenkov:crtcfg, r=matthewjasper
Enable `cfg` predicate for `target_feature = "crt-static"` only if the target supports it That's what all other `target_feature`s do.
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/crt-static-on-works.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/ui/crt-static-on-works.rs b/src/test/ui/crt-static-on-works.rs index 21407b1b911..f89d1edd658 100644 --- a/src/test/ui/crt-static-on-works.rs +++ b/src/test/ui/crt-static-on-works.rs @@ -1,9 +1,6 @@ // run-pass - -#![allow(stable_features)] -// compile-flags:-C target-feature=+crt-static -Z unstable-options - -#![feature(cfg_target_feature)] +// compile-flags:-C target-feature=+crt-static +// only-msvc #[cfg(target_feature = "crt-static")] fn main() {} |
