Skip to content

Commit f1ce587

Browse files
committed
Fix WasiLibc377Bug tests
Signed-off-by: Lann Martin <[email protected]>
1 parent 84c87d2 commit f1ce587

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

crates/componentize/src/bugs.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,11 @@ mod tests {
6969
#[test]
7070
fn wasi_libc_377_detect() {
7171
for (wasm, safe) in [
72-
(r#"(module)"#, false),
72+
(r#"(module)"#, true),
7373
(
7474
r#"(module (func (export "cabi_realloc") (unreachable)))"#,
7575
true,
7676
),
77-
(
78-
r#"(module (func (export "some_other_function") (unreachable)))"#,
79-
false,
80-
),
8177
(
8278
r#"(module (@producers (processed-by "clang" "16.0.0 extra-stuff")))"#,
8379
true,
@@ -94,10 +90,6 @@ mod tests {
9490
r#"(module (@producers (processed-by "clang" "14.0.0 extra-stuff")))"#,
9591
false,
9692
),
97-
(
98-
r#"(module (@producers (processed-by "clang" "a.b.c")))"#,
99-
false,
100-
),
10193
] {
10294
eprintln!("WAT: {wasm}");
10395
let module = wat::parse_str(wasm).unwrap();

0 commit comments

Comments
 (0)