compileopts, targets, main: support Wasmtime v14 (#3972)

compileopts, targets, main: support Wasmtime v14
This commit is contained in:
Randy Reddig
2023-11-02 11:49:52 -07:00
committed by GitHub
parent 5355473dce
commit 174d492355
5 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) {
"--stack-first",
"--no-demangle",
)
spec.Emulator = "wasmtime --mapdir=/tmp::{tmpDir} {}"
spec.Emulator = "wasmtime --dir={tmpDir}::/tmp {}"
spec.ExtraFiles = append(spec.ExtraFiles,
"src/runtime/asm_tinygowasm.S",
"src/internal/task/task_asyncify_wasm.S",