mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Reduce .wasm size by around 20%
This commit is contained in:
@@ -6,3 +6,7 @@ members = [
|
||||
"example_glium",
|
||||
"example_wasm",
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
lto = true # very slightly smaller wasm
|
||||
opt-level = 's' # 10-20% smaller wasm
|
||||
|
||||
Reference in New Issue
Block a user