perf(bindings/wasm): Shrink the size of the wasm file (#9191)

This commit is contained in:
magic-akari 2024-07-10 15:00:11 +08:00 committed by GitHub
parent 6f285a53c2
commit 3a23b3d120
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,11 +16,12 @@ resolver = "2"
# lto = "fat" # lto = "fat"
# debug = true # debug = true
# opt-level = 'z' opt-level = 'z'
# Strip debug symbols # Strip debug symbols
strip = "symbols" strip = "symbols"
codegen-units = 1
[profile.dev.package."*"] [profile.dev.package."*"]
debug-assertions = false debug-assertions = false