Skip to content

Commit

Permalink
Limit test_variadic_fnptr to unix
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 22, 2022
1 parent 56939ff commit 4af755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/tests/ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4af755b

Please sign in to comment.