Skip to content

Commit

Permalink
perf(bindings/wasm): Shrink the size of the wasm file (swc-project#9191)
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari authored and kdy1 committed Jul 10, 2024
1 parent 2bbb0ca commit 22fded4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ resolver = "2"
# lto = "fat"

# debug = true
# opt-level = 'z'
opt-level = 'z'

# Strip debug symbols
strip = "symbols"

codegen-units = 1

[profile.dev.package."*"]
debug-assertions = false

0 comments on commit 22fded4

Please sign in to comment.