WABT(1)
β¨ NAME β¨
Bestie, welcome to the WABT(1) manual page β this one is all about spectest-interp, and it's here to read a Spectest JSON file and run its tests in the interpreter. Yes, that's the whole vibe. π
πΈ SYNOPSIS πΈ
spectest-interp [options] filename
π¦ DESCRIPTION π¦
Okay so spectest-interp reads a Spectest JSON file and runs its tests in the interpreter. That's the main character energy right there. β¨
The options are as follows:
π OPTIONS π
--helpβ prints this help message, simple as that π«Ά--versionβ prints version information-v,--verboseβ use it multiple times if you want more info π--disable-exceptionsβ disables Experimental exception handling--disable-mutable-globalsβ disables Import/export mutable globals--disable-saturating-float-to-intβ disables Saturating float-to-int operators--disable-sign-extensionβ disables Sign-extension operators--disable-simdβ disables SIMD support--enable-threadsβ enables Threading support--enable-function-referencesβ enables Typed function references--disable-multi-valueβ disables Multi-value--disable-tail-callβ disables Tail-call support--disable-bulk-memoryβ disables Bulk-memory operations--disable-reference-typesβ disables Reference types (externref)--disable-annotationsβ disables Custom annotation syntax--enable-code-metadataβ enables Code metadata--enable-gcβ enables Garbage collection--disable-memory64β disables 64-bit memory--disable-multi-memoryβ disables Multi-memory--disable-extended-constβ disables Extended constant expressions--disable-relaxed-simdβ disables Relaxed SIMD--enable-custom-page-sizesβ enables Custom page sizes--enable-compact-importsβ enables Compact import section--enable-wide-arithmeticβ enables Wide arithmetic--enable-allβ enables all features π₯-V,--value-stack-size=SIZEβ size in elements of the value stack-C,--call-stack-size=SIZEβ size in elements of the call stack
π EXAMPLES π
So you wanna parse test.json and run the spec tests? Iconic. Do this:
$ spectest-interp test.json
π SEE ALSO π
wasm-interp(1), wasm-objdump(1), wasm-stats(1), wasm-strip(1), wasm-validate(1), wasm2c(1), wasm2wat(1), wast2json(1), wat-desugar(1), wat2wasm(1)
π BUGS π
If you find a bug, please report it at https://github.com/WebAssembly/wabt/issues. No cap, they wanna know. π
Muah π β this page comes from the Debian package, dated $Mdocdate$, and it's the WABT(1) manual. Byeee π«Ά
π¦ where this page comes from
- arch rolling: wabt 1.0.42-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms