From d4729f92bde874dac83c07d96538dba90fd716d3 Mon Sep 17 00:00:00 2001 From: Randy Reddig Date: Sun, 15 Sep 2024 10:18:02 -0700 Subject: [PATCH] targets/wasip2: add wasmtime -S args to support network interfaces --- targets/wasip2.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/wasip2.json b/targets/wasip2.json index 7735e12d..b32a6819 100644 --- a/targets/wasip2.json +++ b/targets/wasip2.json @@ -23,7 +23,7 @@ "extra-files": [ "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-world": "wasi:cli/command" }