mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
targets/wasip2: add wasmtime -S args to support network interfaces
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
"extra-files": [
|
"extra-files": [
|
||||||
"src/runtime/asm_tinygowasm.S"
|
"src/runtime/asm_tinygowasm.S"
|
||||||
],
|
],
|
||||||
"emulator": "wasmtime --wasm component-model --dir={tmpDir}::/tmp {}",
|
"emulator": "wasmtime --wasm component-model -Sinherit-network -Sallow-ip-name-lookup --dir={tmpDir}::/tmp {}",
|
||||||
"wit-package": "{root}/lib/wasi-cli/wit/",
|
"wit-package": "{root}/lib/wasi-cli/wit/",
|
||||||
"wit-world": "wasi:cli/command"
|
"wit-world": "wasi:cli/command"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user