S001: first build compiles; fix 5 compile errors in place

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-11 17:27:07 -06:00
commit d2bb67f4ea

View file

@ -14,8 +14,10 @@ the test suite.
- Review passes done without compiling: API signatures checked against the crate sources in ~/.cargo/registry,
names cross-checked between modules (commands, UI state, shared fields, crate:: paths), every setting checked
to be read by the code. Bugs found and fixed are in git history.
- Never compiled. Expect a round of compile errors at the first build (type inference, borrow checker, small
API mismatches); fix them in place, don't restructure.
- Compiles (S001, 2026-11-11): `nice cargo build --release -j 2` exits 0 and produces `target/release/nacre`
(~144 MB); `--help`/`--version` run headless. Only five errors at the first build (two missing imports, three
borrow errors), fixed in place. 66 warnings left: egui 0.37 deprecations and dead code. Not run with a window
yet, unit tests not run yet.
## First build checklist
1. `nice cargo build --release -j 2` (first build takes hours: Servo, SpiderMonkey, WebRender).