Skip to content

Commit 05217b6

Browse files
committed
chore: Optimized build
1 parent a6d295d commit 05217b6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[UNRELEASED]
44

55
- Ignore `clippy` lint rule `must_use_candidate`.
6+
- Optimized build (WASM file size changed from 584 to 356 KB).
67

78
[0.4.0]
89

crate/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ features = [
2929

3030
[profile.release]
3131
lto = true
32-
opt-level = 's'
32+
opt-level = 'z'
33+
codegen-units = 1

0 commit comments

Comments
 (0)