Skip to content

Commit 4e7ac47

Browse files
committed
reverted changed cfg test cases
1 parent e84b281 commit 4e7ac47

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Diff for: src/test/run-pass/cfg/cfg-family.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// run-pass
22
// pretty-expanded FIXME #23616
3+
// ignore-cloudabi no target_family
4+
// ignore-wasm32-bare no target_family
5+
// ignore-sgx
36

47
#[cfg(windows)]
58
pub fn main() {
@@ -8,7 +11,3 @@ pub fn main() {
811
#[cfg(unix)]
912
pub fn main() {
1013
}
11-
12-
#[cfg(not(any(windows, unix)))]
13-
pub fn main() {
14-
}

Diff for: src/test/run-pass/cfg/cfg-target-family.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// run-pass
2+
// ignore-cloudabi no target_family
3+
// ignore-wasm32-bare no target_family
4+
// ignore-sgx
5+
26
// pretty-expanded FIXME #23616
37

48
#[cfg(target_family = "windows")]
@@ -8,7 +12,3 @@ pub fn main() {
812
#[cfg(target_family = "unix")]
913
pub fn main() {
1014
}
11-
12-
#[cfg(not(any(target_family = "windows", target_family = "unix")))]
13-
pub fn main() {
14-
}

0 commit comments

Comments
 (0)