From 55f11a54335bf99aa48926e2ea7c46a56567299c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Wed, 29 May 2024 09:45:39 +0200 Subject: [PATCH] Disable profile settings for crate not included Cargo is warning about warning: profile package spec `nym-wasm-sdk` in profile `release` did not match any packages Fix this by commenting out the profile settings for that crate as it's currently not included in the main workspace --- Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9cdc6d3ce8..96bec05bac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -117,7 +117,7 @@ members = [ "tools/nymvisor", "tools/ts-rs-cli", "wasm/client", - # "wasm/full-nym-wasm", + # "wasm/full-nym-wasm", # If we uncomment this again, remember to also uncomment the profile settings below "wasm/mix-fetch", "wasm/node-tester", "wasm/zknym-lib", @@ -356,9 +356,12 @@ opt-level = 'z' # lto = true opt-level = 'z' -[profile.release.package.nym-wasm-sdk] -# lto = true -opt-level = 'z' +# Commented out since the crate is also commented out from the inclusion in the +# workspace above. We should uncomment this if we re-include it in the +# workspace +#[profile.release.package.nym-wasm-sdk] +## lto = true +#opt-level = 'z' [profile.release.package.mix-fetch-wasm] # lto = true