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:
Dennis Kobert 2023-04-24 20:04:46 +02:00 committed by Keavon Chambers
parent 497bf3dfc5
commit 00fd701f66

View file

@ -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