tinygo: revise and simplify wasmtime argument handling (#4555)

This commit is contained in:
Randy Reddig
2024-10-28 17:57:24 +01:00
committed by GitHub
parent 76d5b3d786
commit 0edeaf657f
5 changed files with 34 additions and 32 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ func defaultTarget(options *Options) (*TargetSpec, error) {
"--stack-first",
"--no-demangle",
)
spec.Emulator = "wasmtime --dir={tmpDir}::/tmp {}"
spec.Emulator = "wasmtime run --dir={tmpDir}::/tmp {}"
spec.ExtraFiles = append(spec.ExtraFiles,
"src/runtime/asm_tinygowasm.S",
"src/internal/task/task_asyncify_wasm.S",