Skip Wat variants for assert_trap

This commit is contained in:
Rerumu
2022-06-16 06:33:03 -04:00
parent 8a92d8f9b6
commit c756b4bc6d
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -86,7 +86,11 @@ impl Target for LuaJIT {
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
writeln!(w, ", nil)")
}
WastExecute::Wat(_) => panic!("Wat not supported"),
WastExecute::Wat(_) => {
// FIXME: Assert the `start` function
Ok(())
}
}
}
+5 -1
View File
@@ -93,7 +93,11 @@ impl Target for Luau {
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
writeln!(w, ", nil)")
}
WastExecute::Wat(_) => panic!("Wat not supported"),
WastExecute::Wat(_) => {
// FIXME: Assert the `start` function
Ok(())
}
}
}