Repository navigation
Commit e564caa
docs(libretro): record the maintainer's two decisions from #556 review
Review on #556 left two policy questions open. The maintainer settled both
on 2026-09-25, and both confirm what the code already does, so this
records the decisions and changes no behaviour.
1. A direct `cargo build --release` of the libretro core stays a WARNING,
not an error. build.rs warns when CARGO_PROFILE_RELEASE_PANIC=unwind is
absent, and on_load_game logs cfg!(panic = "abort") to the frontend. A
hard error was not chosen because the documented
`cargo build --release --workspace` builds this crate too, and would
fail the desktop build over a core that command does not ship.
(Copilot's finding.)
2. Battery RAM is still written after a contained panic. A poisoned core
refuses further emulation calls but keeps the console allocated and its
memory readable, so RetroArch writes the save as usual. A panic
interrupts between host operations and cannot tear a byte, so what is
written is the cartridge RAM at one instant, the same as a power cut on
hardware. Withholding it (reporting size 0 for SAVE_RAM while poisoned)
would lose every save since the game was loaded. (agy's round-3
"blocking" item.)
Recorded in the L-1.1 row of docs/audits/libretro-disposition.md, whose PR
column now cites #556, and in to-dos/plans/v2.8.0-bulkhead-plan.md.
markdownlint clean.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qfTKi2M3swo7qnwvYCkDj1 parent 075a410 commit e564caa
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
0 commit comments