From 264f4af44c1d054b6d676877c53ae163a7da7055 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 27 Aug 2024 06:47:53 +0100 Subject: test/wasm-wc: Target wasm32-wasip1 Changes are afoot... wasm32-wasi has been renamed wasm32-wasip1, there is also a wasm32-wasip2 (seems not yet fully realised) and wasm32-wasi is being kept clear for an eventual WASI 1.0 release. cargo-component targets wasm32-wasip1 by default and adapts the module to the preview2 version of WASI supported by the component model. This means that the component is now found under target/wasm32-wasip1/... Link: Link: Signed-off-by: Andrew Clayton --- test/unit/applications/lang/wasm_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/applications/lang/wasm_component.py b/test/unit/applications/lang/wasm_component.py index 6f7b5518..1d58afd6 100644 --- a/test/unit/applications/lang/wasm_component.py +++ b/test/unit/applications/lang/wasm_component.py @@ -41,7 +41,7 @@ class ApplicationWasmComponent(ApplicationProto): def load(self, script, **kwargs): self.prepare_env(script) - component_path = f'{option.temp_dir}/wasm_component/{script}/target/wasm32-wasi/release/test_wasi_component.wasm' + component_path = f'{option.temp_dir}/wasm_component/{script}/target/wasm32-wasip1/release/test_wasi_component.wasm' self._load_conf( { -- cgit