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.
2 parents 81a02f6 + 1db7ab9 commit 62e004fCopy full SHA for 62e004f
Cargo.toml
@@ -45,6 +45,10 @@ wasm-opt = ['-Oz', '-g']
45
# Tell cargo to run `rustc` with `-Oz` - ie, to optimize for size.
46
# https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level
47
opt-level = 'z'
48
+# Use a single codegen-unit to enable better optimizations
49
+codegen-units = 1
50
+# Enable fat link time optimization
51
+lto = true
52
53
[lib]
54
crate-type = ["cdylib"]
0 commit comments