We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5f0e1 commit 80497e5Copy full SHA for 80497e5
tests/run-pass/libc.rs
@@ -12,7 +12,7 @@ fn tmp() -> PathBuf {
12
std::env::var("MIRI_TEMP").map(PathBuf::from).unwrap_or_else(|_| std::env::temp_dir())
13
}
14
15
-#[cfg(not(target_os = "macos"))]
+#[cfg(target_os = "linux")]
16
fn test_posix_fadvise() {
17
use std::convert::TryInto;
18
use std::fs::{remove_file, File};
@@ -144,7 +144,7 @@ fn test_rwlock_libc_static_initializer() {
144
145
146
fn main() {
147
- #[cfg(not(target_os = "macos"))]
+ #[cfg(target_os = "linux")]
148
test_posix_fadvise();
149
150
test_mutex_libc_init_recursive();
0 commit comments