USAGE /usr/bin/wasmedgec [OPTIONS] [--] WASM WASM_SO OPTIONS -h|--help Show this help message -v|--version Show version information --dump Dump LLVM IR to `wasm.ll` and `wasm-opt.ll`. --interruptible Generate a interruptible binary --enable-instruction-count Enable generating code for counting Wasm instructions executed. --enable-gas-measuring Enable generating code for counting gas burned during execution. --enable-time-measuring Enable generating code for counting time during execution. --enable-all-statistics Enable generating code for all statistics options include instruction counting, gas measuring, and execution time. --generic-binary Generate a generic binary --wasm-1 Set as WASM 1.0 standard. --wasm-2 Set as WASM 2.0 standard. --wasm-3 Set as WASM 3.0 standard (default). --disable-import-export-mut-globals Disable Import/Export of mutable globals proposal --disable-non-trap-float-to-int Disable Non-trapping float-to-int conversions proposal --disable-sign-extension-operators Disable Sign-extension operators proposal --disable-multi-value Disable Multi-value proposal --disable-bulk-memory Disable Bulk memory operations proposal --disable-reference-types Disable Reference types proposal --disable-simd Disable SIMD proposal --disable-tail-call Disable Tail-call proposal --disable-extended-const Disable Extended-const proposal --disable-function-reference Disable Function Reference proposal --disable-gc Disable GC proposal --disable-multi-memory Disable Multiple memories proposal --disable-relaxed-simd Disable Relaxed SIMD proposal --disable-exception-handling Disable Exception handling proposal --disable-memory64 Disable Memory64 proposal --enable-threads Enable Threads proposal --enable-all Enable all features --optimize Optimization level, one of 0, 1, 2, 3, s, z.
Options (28)
| Option | Description | Source |
|---|---|---|
--dump | Dump LLVM IR to `wasm.ll` and `wasm-opt.ll`. | help |
--interruptible | Generate a interruptible binary | help |
--enable-instruction-count | Enable generating code for counting Wasm instructions executed. | help |
--enable-gas-measuring | Enable generating code for counting gas burned during execution. | help |
--enable-time-measuring | Enable generating code for counting time during execution. | help |
--enable-all-statistics | Enable generating code for all statistics options include instruction counting, gas measuring, and execution time. | help |
--generic-binary | Generate a generic binary | help |
--wasm-1 | Set as WASM 1.0 standard. | help |
--wasm-2 | Set as WASM 2.0 standard. | help |
--wasm-3 | Set as WASM 3.0 standard (default). | help |
--disable-import-export-mut-globals | Disable Import/Export of mutable globals proposal | help |
--disable-non-trap-float-to-int | Disable Non-trapping float-to-int conversions proposal | help |
--disable-sign-extension-operators | Disable Sign-extension operators proposal | help |
--disable-multi-value | Disable Multi-value proposal | help |
--disable-bulk-memory | Disable Bulk memory operations proposal | help |
--disable-reference-types | Disable Reference types proposal | help |
--disable-simd | Disable SIMD proposal | help |
--disable-tail-call | Disable Tail-call proposal | help |
--disable-extended-const | Disable Extended-const proposal | help |
--disable-function-reference | Disable Function Reference proposal | help |
--disable-gc | Disable GC proposal | help |
--disable-multi-memory | Disable Multiple memories proposal | help |
--disable-relaxed-simd | Disable Relaxed SIMD proposal | help |
--disable-exception-handling | Disable Exception handling proposal | help |
--disable-memory64 | Disable Memory64 proposal | help |
--enable-threads | Enable Threads proposal | help |
--enable-all | Enable all features | help |
--optimize | Optimization level, one of 0, 1, 2, 3, s, z. | help |