You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(debug): print link command on -v + always emit firmware.map (fixes#305) (#308)
Two small debuggability patches per the issue:
A. Linker invocations now eprintln! the full command line when -v is
passed. tracing::info! is kept for log integration but also goes to
stderr so plain CLI users see it.
B. Every per-platform linker now adds -Wl,-Map=firmware.map to the link
command. Lands next to firmware.elf in output_dir. Cost is essentially
zero (~50-500 KB plain text) and pays for itself the first time
anyone asks "why is this symbol in my ELF?" (See #304
for the recent investigation that took 45 min for want of a map.)
WASM and ESP32 paths intentionally skipped — different artifact shapes.
Closes#305.
0 commit comments