bytebox
bytebox copied to clipboard
Reorder run args to match wasmtime
Currently the order of args is: bytebox <FILE> [WASM_ARGS]... [OPTION].... However, wasmtime (and other runtimes) put their option args before the wasm file like so: wasmtime [OPTION]... <FILE> [WASM_ARGS].... Bytebox should match this ordering to make it easier to run as a drop-in replacement, or at the very least to make it easier to compare runtimes.
To do this, in the file run/main.zig, parseCmdOpts() will need to be updated to account for the reordering.