Skip to content

Note why the _estack extern stays in the chip crate - #4

Merged
ppannuto merged 1 commit into
ppannuto:qemu-arm-mps2from
ppannuto-claude:qemu-arm-mps2-review-fixes
Aug 28, 2026
Merged

Note why the _estack extern stays in the chip crate#4
ppannuto merged 1 commit into
ppannuto:qemu-arm-mps2from
ppannuto-claude:qemu-arm-mps2-review-fixes

Conversation

@ppannuto-claude

@ppannuto-claude ppannuto-claude commented Aug 28, 2026

Copy link
Copy Markdown

Rebased onto the squashed branch; everything else here has landed.

What's left is a replacement for the Cargo.toml feature comment you pushed back on — that version was too long and in the wrong file, so it's dropped. Three lines at the extern block instead, in vectors_m3.rs and vectors_m4.rs.

The fact is worth keeping only because the failure isn't self-explaining: LTO renames one of the two _estack declarations and you get undefined symbol: _estack.1 blamed on an unrelated line, with nothing pointing at process_console. The comment exists so that error string is greppable from the declaration that causes it.

Both boards build clean; make format passes.

Breaking this rule produces `undefined symbol: _estack.1` attributed to
an unrelated line, which gives a reader nothing to go on. Record the
cause where the declaration actually lives.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ppannuto-claude
ppannuto-claude force-pushed the qemu-arm-mps2-review-fixes branch from a1d383e to 11c45ea Compare August 28, 2026 17:02
@ppannuto-claude ppannuto-claude changed the title Review fixes: red CI jobs, UART baud validation, stale docs Note why the _estack extern stays in the chip crate Aug 28, 2026
@ppannuto
ppannuto merged commit a544f3a into ppannuto:qemu-arm-mps2 Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants