Repository navigation
Conversation
Full debug info makes dev rebuilds of evm2-cli about 20% slower. Line tables keep file and line numbers in panic backtraces.
👁️ Cyclops Security Review✅ Reviewed 942aa36 (latest) · Coverage: partial · no open findings · report |
Sets
debug = "line-tables-only"in the workspace[profile.dev]. Panic backtraces in dev tests still show file and line numbers. Dev builds drop variable and type debug info, so a debugger shows fewer locals; use theprofilingprofile (or overrideCARGO_PROFILE_DEV_DEBUG=full) when you need them.profile.testinherits fromdev, so tests get the same setting. The release, profiling and bench profiles are unchanged, and the C and C++ precompile crates already setdebug = false.Median of 3 rebuilds after an edit to the
addhandler, dev profile, stable toolchain with the default packed dispatch backend, 32-core x86-64 Linux host. Clean builds start from an empty target directory.evm2cleanevm2rebuildevm2-clicleanevm2-clirebuildevm2cleanevm2rebuildevm2-clicleanevm2-clirebuildThe
evm2library crate is mostly generic, so its rebuild is cheap either way; the cost lands inevm2-cli.