wat translation is a potential attack vector, since it happens in the C++ wabt library, so we want a way to turn it off if required.
[lucet]% cargo run -p lucetc -- lucetc/tests/wasm/globals_export.wat --no-translate-wat
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/lucetc lucetc/tests/wasm/globals_export.wat --no-translate-wat`
Error: Input does not have Wasm preamble
wat translation is a potential attack vector, since it happens in the C++
wabt
library, so we want a way to turn it off if required.