Skip Wat
variants for assert_trap
This commit is contained in:
parent
8a92d8f9b6
commit
c756b4bc6d
@ -86,7 +86,11 @@ impl Target for LuaJIT {
|
|||||||
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
|
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
|
||||||
writeln!(w, ", nil)")
|
writeln!(w, ", nil)")
|
||||||
}
|
}
|
||||||
WastExecute::Wat(_) => panic!("Wat not supported"),
|
WastExecute::Wat(_) => {
|
||||||
|
// FIXME: Assert the `start` function
|
||||||
|
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +93,11 @@ impl Target for Luau {
|
|||||||
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
|
write!(w, r#"loaded["{name}"].global_list["{global}"].value"#)?;
|
||||||
writeln!(w, ", nil)")
|
writeln!(w, ", nil)")
|
||||||
}
|
}
|
||||||
WastExecute::Wat(_) => panic!("Wat not supported"),
|
WastExecute::Wat(_) => {
|
||||||
|
// FIXME: Assert the `start` function
|
||||||
|
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user