mirror of
https://github.com/storytold/effectcraft.git
synced 2026-12-06 14:04:06 -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:
1 file changed
+8
-1
+8
-1
@@ -171,13 +171,20 @@ opt-level = 2
|
|||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
[profile.dev]
|
[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.
|
# Panics and backtraces keep file and line; full debug info only made the many test binaries large.
|
||||||
debug = "line-tables-only"
|
debug = "line-tables-only"
|
||||||
|
|
||||||
# Same settings as `dev`, but with full debug info for interactive debugger sessions: local
|
# 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;
|
# variables, parameters and column breakpoints work. Use `--profile dev-full` when debugging;
|
||||||
# everything else stays on the fast default. See CONTRIBUTING.md, "Setup".
|
# 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]
|
[profile.dev-full]
|
||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
debug = true
|
debug = true
|
||||||
|
|||||||
Reference in new issue
Block a user