aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts/target.go
diff options
context:
space:
mode:
authorRandy Reddig <[email protected]>2023-11-02 11:49:52 -0700
committerGitHub <[email protected]>2023-11-02 19:49:52 +0100
commit174d49235552381552c34bbe4a98d0a2ff6f046f (patch)
tree8c0329bb24703e2ce4e6f7157db66584c5b938a6 /compileopts/target.go
parent5355473dce94dd6112968ec2684ae2c5c077fa9a (diff)
downloadtinygo-174d49235552381552c34bbe4a98d0a2ff6f046f.tar.gz
tinygo-174d49235552381552c34bbe4a98d0a2ff6f046f.zip
compileopts, targets, main: support Wasmtime v14 (#3972)
compileopts, targets, main: support Wasmtime v14
Diffstat (limited to 'compileopts/target.go')
-rw-r--r--compileopts/target.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/target.go b/compileopts/target.go
index b21a0183a..f7b8a065f 100644
--- a/compileopts/target.go
+++ b/compileopts/target.go
@@ -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",