Skip to content

Commit 6c0fc8d

Browse files
jkelleyrtperichulburd
authored andcommitted
Enable max size optimizations and LTO for Dioxus
1 parent f233a45 commit 6c0fc8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frameworks/keyed/dioxus/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ getrandom = { version = "0.2.6", features = ["js"] }
1111
rand = { version = "0.8.5", features = ["small_rng"] }
1212

1313
wasm-bindgen = { version = "*", features = ["enable-interning"] }
14+
[profile.release]
15+
opt-level = "s"
16+
lto = true
17+
codegen-units = 1

0 commit comments

Comments
 (0)