File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,11 @@ mod tests {
69
69
#[ test]
70
70
fn wasi_libc_377_detect ( ) {
71
71
for ( wasm, safe) in [
72
- ( r#"(module)"# , false ) ,
72
+ ( r#"(module)"# , true ) ,
73
73
(
74
74
r#"(module (func (export "cabi_realloc") (unreachable)))"# ,
75
75
true ,
76
76
) ,
77
- (
78
- r#"(module (func (export "some_other_function") (unreachable)))"# ,
79
- false ,
80
- ) ,
81
77
(
82
78
r#"(module (@producers (processed-by "clang" "16.0.0 extra-stuff")))"# ,
83
79
true ,
@@ -94,10 +90,6 @@ mod tests {
94
90
r#"(module (@producers (processed-by "clang" "14.0.0 extra-stuff")))"# ,
95
91
false ,
96
92
) ,
97
- (
98
- r#"(module (@producers (processed-by "clang" "a.b.c")))"# ,
99
- false ,
100
- ) ,
101
93
] {
102
94
eprintln ! ( "WAT: {wasm}" ) ;
103
95
let module = wat:: parse_str ( wasm) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments