@@ -43,7 +43,7 @@ macro_rules! mock_root_test_cases {
43
43
}
44
44
45
45
paste:: paste!{
46
- #[ cfg( all( $target, not( windows ) , not ( target_os = "android" ) ) ) ]
46
+ #[ cfg( all( $target, not( target_os = "android" ) ) ) ]
47
47
#[ test]
48
48
pub fn [ <$name _extra>] ( ) {
49
49
super :: [ <$name _extra>] ( )
@@ -60,7 +60,7 @@ macro_rules! mock_root_test_cases {
60
60
$name,
61
61
62
62
paste:: paste!{
63
- #[ cfg( all( $target, not( windows ) , not ( target_os = "android" ) ) ) ]
63
+ #[ cfg( all( $target, not( target_os = "android" ) ) ) ]
64
64
[ <$name _extra>]
65
65
}
66
66
@@ -77,7 +77,7 @@ macro_rules! mock_root_test_cases {
77
77
}
78
78
79
79
paste:: paste!{
80
- #[ cfg( all( $target, not( windows ) , not ( target_os = "android" ) ) ) ]
80
+ #[ cfg( all( $target, not( target_os = "android" ) ) ) ]
81
81
pub ( super ) fn [ <$name _extra>] ( ) {
82
82
test_with_mock_root( & $test_case, Roots :: ExtraAndPlatform ) ;
83
83
}
@@ -336,7 +336,7 @@ fn test_with_mock_root<E: std::error::Error + PartialEq + 'static>(
336
336
337
337
let verifier = match root_src {
338
338
Roots :: OnlyExtra => Verifier :: new_with_fake_root ( ROOT1 ) , // TODO: time
339
- #[ cfg( all ( unix , not( target_os = "android" ) ) ) ]
339
+ #[ cfg( not( target_os = "android" ) ) ]
340
340
Roots :: ExtraAndPlatform => Verifier :: new_with_extra_roots ( vec ! [ ROOT1 . into( ) ] ) ,
341
341
} ;
342
342
let mut chain = test_case
@@ -379,6 +379,6 @@ enum Roots {
379
379
/// Test with loading the extra roots and the platform trust store.
380
380
///
381
381
/// Right now, not all platforms are supported.
382
- #[ cfg( all ( unix , not( target_os = "android" ) ) ) ]
382
+ #[ cfg( not( target_os = "android" ) ) ]
383
383
ExtraAndPlatform ,
384
384
}
0 commit comments