From eface4e4fcb4b99a27d48e692d585fb00b6389f4 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Tue, 3 Dec 2024 18:48:04 +0100 Subject: [PATCH] wasip2 --- pulumi_wasm_generator_lib/tests/test.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pulumi_wasm_generator_lib/tests/test.rs b/pulumi_wasm_generator_lib/tests/test.rs index 6bee5b1f8..5c98419bb 100644 --- a/pulumi_wasm_generator_lib/tests/test.rs +++ b/pulumi_wasm_generator_lib/tests/test.rs @@ -57,8 +57,10 @@ fn run_pulumi_generator_test(test_name: &str, provider_name: &str) -> Result<()> Command::new("cargo") .args([ - "component", + "cargo", "build", + "--target", + "wasm32-wasip2", "-p", format!("pulumi_wasm_{provider_name}_provider").as_str(), ])