mirror of
https://github.com/storytold/effectcraft.git
synced 2026-12-02 20:20:57 -05:00
build: keep effectcraft-expr and effectcraft-script at opt-level = 1
This commit is contained in:
1 parent
025fca6b47
commit
0deb812474
1 file changed
+7
@@ -178,6 +178,13 @@ debug = "line-tables-only"
|
||||
# Same settings as `dev`, but with full debug info for interactive debugger sessions: local
|
||||
# variables, parameters and column breakpoints work. Use `--profile dev-full` when debugging;
|
||||
# everything else stays on the fast default. See CONTRIBUTING.md, "Setup".
|
||||
# Keep recursion-guarded expression/script crates at opt-level = 1 to prevent stack overflow.
|
||||
[profile.dev.package.effectcraft-expr]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package.effectcraft-script]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev-full]
|
||||
inherits = "dev"
|
||||
debug = true
|
||||
|
||||
Reference in new issue
Block a user