Skip to content

Commit 264f4af

Browse files
committed
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: <https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-wasip1.html> Link: <https://github.com/bytecodealliance/cargo-component/blob/main/README.md#wasi-support> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
1 parent f4298f9 commit 264f4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/applications/lang/wasm_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def prepare_env(script):
4141
def load(self, script, **kwargs):
4242
self.prepare_env(script)
4343

44-
component_path = f'{option.temp_dir}/wasm_component/{script}/target/wasm32-wasi/release/test_wasi_component.wasm'
44+
component_path = f'{option.temp_dir}/wasm_component/{script}/target/wasm32-wasip1/release/test_wasi_component.wasm'
4545

4646
self._load_conf(
4747
{

0 commit comments

Comments
 (0)