mirror of
https://github.com/storytold/effectcraft.git
synced 2026-12-02 15:01:26 -05:00
Merge pull request #4320 from Elvis33LE/ci/dev-profile-opt-level-0
build: set [profile.dev] opt-level = 0
This commit is contained in:
+8
-1
@@ -171,13 +171,20 @@ opt-level = 2
|
||||
debug = false
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
opt-level = 0
|
||||
# Panics and backtraces keep file and line; full debug info only made the many test binaries large.
|
||||
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