mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-03 21:08:18 +00:00
Enable optimization for the interpreted-executor crate
Enables optimizations for `interpreted-executor` in debug mode to circumvent the wasm limit for the number of locals in a single function. Test Plan: Add entries to the node registry and verify that it does still compile Reviewers: Keavon Reviewed By: Keavon Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1158
This commit is contained in:
parent
497bf3dfc5
commit
00fd701f66
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ xxhash-rust = { version = "0.8.4", features = ["xxh3"] }
|
|||
[profile.dev.package.graphite-editor]
|
||||
opt-level = 1
|
||||
|
||||
# This is a mitigation for https://github.com/rustwasm/wasm-pack/issues/981
|
||||
# Which is needed because the node_registry function is too large
|
||||
[profile.dev.package.interpreted-executor]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package.graphene-core]
|
||||
opt-level = 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue