Skip to content

Commit 4af755b

Browse files
committed
Limit test_variadic_fnptr to unix
1 parent 56939ff commit 4af755b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/tests/ptr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ fn test_const_nonnull_new() {
289289
}
290290

291291
#[test]
292-
#[cfg(any(unix, windows))] // printf may not be available on other platforms
292+
#[cfg(unix)] // printf may not be available on other platforms
293293
#[allow(deprecated)] // For SipHasher
294294
pub fn test_variadic_fnptr() {
295295
use core::ffi;

0 commit comments

Comments
 (0)