From 4af755baf5daff426189a5a61be93610fa19dca7 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 22 Mar 2022 22:27:13 +0100 Subject: [PATCH] Limit test_variadic_fnptr to unix --- library/core/tests/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;