diff options
author | Randy Reddig <[email protected]> | 2023-11-02 11:49:52 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-02 19:49:52 +0100 |
commit | 174d49235552381552c34bbe4a98d0a2ff6f046f (patch) | |
tree | 8c0329bb24703e2ce4e6f7157db66584c5b938a6 /compileopts/target.go | |
parent | 5355473dce94dd6112968ec2684ae2c5c077fa9a (diff) | |
download | tinygo-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.go | 2 |
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", |