bytebox icon indicating copy to clipboard operation
bytebox copied to clipboard

Reorder run args to match wasmtime

Open rdunnington opened this issue 2 years ago • 0 comments

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.

rdunnington avatar May 04 '23 03:05 rdunnington