Commit a28ead6
Five inline review findings from CodeRabbit on PR #208. All addressed.
None changes runtime behaviour.
## Changes
- `crates/fbuild-build/tests/teensylc_acceptance.rs` — drop substring
fallback for `setup`/`loop` symbol probes. They're `extern "C"` from
the sketch and exact `has_symbol(...)` is sufficient; the substring
match was overly permissive (4-5-char tokens collide with mangled
C++ names like `_ZN6Stream8setupXxx`).
- `crates/CLAUDE.md` — add "Diagnostic subcommand exception" pattern
to clarify that `clang-tidy` / `clang-query` / `iwyu` / `mcp` /
`lnk` / `lib-select` intentionally bypass the daemon. Prevents
future readers from concluding `lib-select` violates the
"thin HTTP client" rule.
- `docs/architecture/library-selection.md` — update top-of-doc status
block and "Future work" list to reflect that PR #208 shipped Phase 6
acceptance gates and Phase 8.a `lib-select` CLI; only Phase 4
(zccache#130), Phase 7, and Phase 8.b cleanup remain. The "Tests"
section now points at the actual `tests/*_acceptance.rs` files
rather than describing them as future work.
## CodeRabbit comment 2 — false positive (no change)
CodeRabbit flagged `use fbuild_packages::Framework;` in
`crates/fbuild-cli/src/lib_select.rs:25` as unused. Verified: the
`Framework` trait is required for method-call dispatch on the 12+
framework objects the file constructs (`get_libraries_dir()` is a
trait method). Removing the import produces 12× E0599 errors. Kept.
Refs: #205, #208
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 42b732b commit a28ead6
3 files changed
Lines changed: 14 additions & 11 deletions
File tree
- crates
- fbuild-build/tests
- docs/architecture
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
139 | | - | |
140 | | - | |
141 | 143 | | |
142 | | - | |
143 | | - | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments