From 7a82b539e419bcf6f80f9baf89b7699d19c23651 Mon Sep 17 00:00:00 2001 From: Conor Schaefer Date: Wed, 29 Nov 2023 09:24:39 -0800 Subject: [PATCH] build: remove unused wasm profile Follow-up to #3432. Shutting this customization off, because it was being ignored anyway, and generated a warnig: warning: profiles for the non root package will be ignored, specify profiles at the workspace root We should discuss whether keeping the wasm crate inside the workspace is the right move. --- crates/wasm/Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index 981293cd68..902ead3acc 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -51,5 +51,10 @@ web-sys = { version = "0.3.64", features = ["console"] } wasm-bindgen-test = "0.3.37" serde_json = "1.0.107" -[profile.release] -lto = true \ No newline at end of file +# Profiles are ignored for crates within a workspace. +# In order to customize the profile for wasm, we must +# either break the crate out of the workspace, or set +# the profile options at the workspace level, affecting +# all crates. +# [profile.release] +# lto = true