@@ -18,7 +18,7 @@ pub mod raw;
18
18
#[ cfg( all(
19
19
doc,
20
20
any(
21
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
21
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
22
22
all( target_vendor = "fortanix" , target_env = "sgx" )
23
23
)
24
24
) ) ]
@@ -27,7 +27,7 @@ pub mod unix {}
27
27
#[ cfg( all(
28
28
doc,
29
29
any(
30
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
30
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
31
31
all( target_vendor = "fortanix" , target_env = "sgx" )
32
32
)
33
33
) ) ]
@@ -36,7 +36,7 @@ pub mod linux {}
36
36
#[ cfg( all(
37
37
doc,
38
38
any(
39
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
39
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
40
40
all( target_vendor = "fortanix" , target_env = "sgx" )
41
41
)
42
42
) ) ]
@@ -45,7 +45,7 @@ pub mod wasi {}
45
45
#[ cfg( all(
46
46
doc,
47
47
any(
48
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
48
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
49
49
all( target_vendor = "fortanix" , target_env = "sgx" )
50
50
)
51
51
) ) ]
@@ -56,7 +56,7 @@ pub mod windows {}
56
56
#[ cfg( not( all(
57
57
doc,
58
58
any(
59
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
59
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
60
60
all( target_vendor = "fortanix" , target_env = "sgx" )
61
61
)
62
62
) ) ) ]
@@ -78,7 +78,7 @@ pub mod linux;
78
78
#[ cfg( not( all(
79
79
doc,
80
80
any(
81
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
81
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
82
82
all( target_vendor = "fortanix" , target_env = "sgx" )
83
83
)
84
84
) ) ) ]
@@ -89,7 +89,7 @@ pub mod wasi;
89
89
#[ cfg( not( all(
90
90
doc,
91
91
any(
92
- all( target_arch = "wasm32" , not( target_os = "wasi" ) , not ( target_os = "wasi-preview2 ") ) ,
92
+ all( target_arch = "wasm32" , not( target_family = "wasi" ) ) ,
93
93
all( target_vendor = "fortanix" , target_env = "sgx" )
94
94
)
95
95
) ) ) ]
0 commit comments