From 892cdfd8d4bd309bc5e140370e434477088360a8 Mon Sep 17 00:00:00 2001 From: Lohachov Mykhailo Date: Wed, 20 Nov 2024 15:24:15 +0900 Subject: [PATCH] fix: output dir Signed-off-by: Lohachov Mykhailo --- crates/iroha_wasm_builder/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iroha_wasm_builder/src/lib.rs b/crates/iroha_wasm_builder/src/lib.rs index c8e55866e83..a65df654e2a 100644 --- a/crates/iroha_wasm_builder/src/lib.rs +++ b/crates/iroha_wasm_builder/src/lib.rs @@ -266,7 +266,7 @@ mod internal { .retrieve_package_name() .wrap_err("Failed to retrieve package name")?; - let full_out_dir = self.out_dir.join("wasm32-unknown-unknown").join("release"); + let full_out_dir = self.out_dir.join("wasm32-unknown-unknown").join(self.profile.clone()); let wasm_file = full_out_dir.join(package_name).with_extension("wasm"); let previous_hash = if wasm_file.exists() {