We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e84b281 commit 4e7ac47Copy full SHA for 4e7ac47
src/test/run-pass/cfg/cfg-family.rs
@@ -1,5 +1,8 @@
1
// run-pass
2
// pretty-expanded FIXME #23616
3
+// ignore-cloudabi no target_family
4
+// ignore-wasm32-bare no target_family
5
+// ignore-sgx
6
7
#[cfg(windows)]
8
pub fn main() {
@@ -8,7 +11,3 @@ pub fn main() {
11
#[cfg(unix)]
9
12
10
13
}
-
-#[cfg(not(any(windows, unix)))]
-pub fn main() {
14
-}
src/test/run-pass/cfg/cfg-target-family.rs
@@ -1,4 +1,8 @@
+
#[cfg(target_family = "windows")]
@@ -8,7 +12,3 @@ pub fn main() {
#[cfg(target_family = "unix")]
-#[cfg(not(any(target_family = "windows", target_family = "unix")))]
0 commit comments