fix(release): restore VA-92 keep-debuginfo comment #141
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/restore-release-profile-comment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Restores the
[profile.release]documentation comment (VA-92) that the v0.4.0 release recipe silently dropped.just create-releasebumps the version by pipingCargo.tomlthrough nushell'sto toml, which does not preserve comments. When v0.4.0 was cut, that roundtrip deleted the six-line block explaining why the release binary retains line-table debuginfo and the ELF symbol table (a stripped release once reduced a SIGBUS core to a single unresolvable frame; keeping line tables plus.symtablets both a captured core and the in-process fault handler resolvefile:line).The
[profile.release]keys (debug = "line-tables-only", etc.) were never changed, so this is a documentation-only restore with no effect on the produced binary.Follow-up worth tracking separately: the recipe's
to tomlstep will strip this comment again on the next release. The recipe should do a surgical version-line edit instead of a full TOML reserialization.