Skip to content

Commit

Permalink
main: do not append '--' argument to demarcate wasmtime args from com…
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Nov 1, 2023
1 parent 4f9fd96 commit 9fca734
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,10 +825,9 @@ func buildAndRun(pkgName string, config *compileopts.Config, stdout io.Writer, c
emuArgs = append(emuArgs, "--env", v)
}
if len(cmdArgs) != 0 {
// Mark end of wasmtime arguments and start of program ones: --
// This should not be necessary as of Wasmtime v14:
// Use of '--' argument no longer necessary as of Wasmtime v14:
// https://github.com/bytecodealliance/wasmtime/pull/6946
args = append(args, "--")
// args = append(args, "--")
args = append(args, cmdArgs...)
}

Expand Down

0 comments on commit 9fca734

Please sign in to comment.