about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-03-22 22:27:13 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-03-22 22:27:13 +0100
commit4af755baf5daff426189a5a61be93610fa19dca7 (patch)
treebb7f0470c3f3a6690b05354ad464991a31343752
parent56939ffe7d49cac4d33422f80892e2cf2a3c4dca (diff)
downloadrust-4af755baf5daff426189a5a61be93610fa19dca7.tar.gz
rust-4af755baf5daff426189a5a61be93610fa19dca7.zip
Limit test_variadic_fnptr to unix
-rw-r--r--library/core/tests/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/tests/ptr.rs b/library/core/tests/ptr.rs
index 84d3ae03ef4..750e7295fb5 100644
--- a/library/core/tests/ptr.rs
+++ b/library/core/tests/ptr.rs
@@ -289,7 +289,7 @@ fn test_const_nonnull_new() {
 }
 
 #[test]
-#[cfg(any(unix, windows))] // printf may not be available on other platforms
+#[cfg(unix)] // printf may not be available on other platforms
 #[allow(deprecated)] // For SipHasher
 pub fn test_variadic_fnptr() {
     use core::ffi;