We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9634c commit aa7b5efCopy full SHA for aa7b5ef
src/manifest/mod.rs
@@ -379,7 +379,9 @@ impl CargoWasmPackProfile {
379
pub fn wasm_opt_args(&self) -> Option<Vec<String>> {
380
match self.wasm_opt.as_ref()? {
381
CargoWasmPackProfileWasmOpt::Enabled(false) => None,
382
- CargoWasmPackProfileWasmOpt::Enabled(true) => Some(vec!["-O".to_string()]),
+ CargoWasmPackProfileWasmOpt::Enabled(true) => {
383
+ Some(vec!["-O".to_string(), "-all".to_string()])
384
+ }
385
CargoWasmPackProfileWasmOpt::ExplicitArgs(s) => Some(s.clone()),
386
}
387
0 commit comments