diff --git a/nym-sphinx-wasm/Cargo.toml b/nym-sphinx-wasm/Cargo.toml index f000325369..69e91b6c90 100644 --- a/nym-sphinx-wasm/Cargo.toml +++ b/nym-sphinx-wasm/Cargo.toml @@ -38,6 +38,14 @@ wee_alloc = { version = "0.4.2", optional = true } [dev-dependencies] wasm-bindgen-test = "0.2" -[profile.release] +# This gets ignored right now, and there is a compiler warning generated: +# "warning: profiles for the non root package will be ignored, specify profiles +# at the workspace root" +# +# I'm OK with that for the moment, I don't want to put it in the root Cargo file +# as I'm unclear what effect it'll have and I'm still experimenting with wasm. +# But it's good that we are reminded to do something about it before any +# production release. +[profile.release] # Tell `rustc` to optimize for small code size. opt-level = "s"