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