bots-garden/razorbillpublic Fork
⑂ 081fb95
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/razorbill.git
git clone ssh://git@rickub.com/bots-garden/razorbill.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

memory: coverage-free Release builds verified on the Mac

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k33g committed 2026-11-26T16:38:48+01:00 Browse files
081fb95 parent: dbbd03c
modified .memory/history.md +2 -0
@@ -403,3 +403,5 @@ Second follow-up: CLANG_ENABLE_CODE_COVERAGE=NO removed the C/C++ instrumentatio
403403 MB) but the build log (.build/xcode/Logs/Build/*.xcactivitylog, gzip) still showed
404404 `-profile-coverage-mapping -profile-generate` on swiftc and `-fprofile-instr-generate` at link:
405405 added CLANG_COVERAGE_MAPPING=NO everywhere. Still to verify on the Mac.
406+Verified by the user on the Mac (2026-11-26): no more default.profraw after install.sh with
407+CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO. Local tag v0.2.0 moved to dbbd03c.
@@ -403,3 +403,5 @@ Second follow-up: CLANG_ENABLE_CODE_COVERAGE=NO removed the C/C++ instrumentatio
403 MB) but the build log (.build/xcode/Logs/Build/*.xcactivitylog, gzip) still showed403 MB) but the build log (.build/xcode/Logs/Build/*.xcactivitylog, gzip) still showed
404 `-profile-coverage-mapping -profile-generate` on swiftc and `-fprofile-instr-generate` at link:404 `-profile-coverage-mapping -profile-generate` on swiftc and `-fprofile-instr-generate` at link:
405 added CLANG_COVERAGE_MAPPING=NO everywhere. Still to verify on the Mac.405 added CLANG_COVERAGE_MAPPING=NO everywhere. Still to verify on the Mac.
406+Verified by the user on the Mac (2026-11-26): no more default.profraw after install.sh with
407+CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO. Local tag v0.2.0 moved to dbbd03c.
modified .memory/summary.md +5 -1
@@ -209,7 +209,11 @@ dirty tree unless `--allow-dirty`; `--products <dir>` packages an existing build
209209 **Install on the Mac**: `scripts/install.sh` (incremental Release build in `.build/xcode`, copies rzb +
210210 bundles to `<prefix>/lib/razorbill`, writes a launcher `<prefix>/bin/rzb` that execs it — a copy of
211211 rzb alone would not find its bundles; prefix `/usr/local`, sudo only if not writable; `--no-build`,
212-`--prefix`, `--uninstall`; never touches an rzb launcher without its marker line). From the sandbox: `tools/host-runner/host.sh build|test .
212+`--prefix`, `--uninstall`; never touches an rzb launcher without its marker line).
213+**Every Release `xcodebuild build` needs `CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO`**:
214+the SwiftPM package scheme gathers test coverage and otherwise instruments Release too (rzb wrote
215+default.profraw). `-enableCodeCoverage` is refused by `xcodebuild build`. Check: `grep -ac
216+LLVM_PROFILE_FILE rzb` must be 0. From the sandbox: `tools/host-runner/host.sh build|test .
213217 razorbill`, `host.sh run . rzb <args>` (no TTY: `rzb run` only); host-runner tests run in Debug
214218 (`@testable import`). Sandbox started on the Mac with `sbx env run --force` (`sbxenv.yaml`).
215219 Lint: `swiftlint lint --quiet Sources Tests` and `swift-format` (4 spaces); keep wrapped
@@ -209,7 +209,11 @@ dirty tree unless `--allow-dirty`; `--products <dir>` packages an existing build
209 **Install on the Mac**: `scripts/install.sh` (incremental Release build in `.build/xcode`, copies rzb +209 **Install on the Mac**: `scripts/install.sh` (incremental Release build in `.build/xcode`, copies rzb +
210 bundles to `<prefix>/lib/razorbill`, writes a launcher `<prefix>/bin/rzb` that execs it — a copy of210 bundles to `<prefix>/lib/razorbill`, writes a launcher `<prefix>/bin/rzb` that execs it — a copy of
211 rzb alone would not find its bundles; prefix `/usr/local`, sudo only if not writable; `--no-build`,211 rzb alone would not find its bundles; prefix `/usr/local`, sudo only if not writable; `--no-build`,
212-`--prefix`, `--uninstall`; never touches an rzb launcher without its marker line). From the sandbox: `tools/host-runner/host.sh build|test .212+`--prefix`, `--uninstall`; never touches an rzb launcher without its marker line).
213+**Every Release `xcodebuild build` needs `CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO`**:
214+the SwiftPM package scheme gathers test coverage and otherwise instruments Release too (rzb wrote
215+default.profraw). `-enableCodeCoverage` is refused by `xcodebuild build`. Check: `grep -ac
216+LLVM_PROFILE_FILE rzb` must be 0. From the sandbox: `tools/host-runner/host.sh build|test .
213 razorbill`, `host.sh run . rzb <args>` (no TTY: `rzb run` only); host-runner tests run in Debug217 razorbill`, `host.sh run . rzb <args>` (no TTY: `rzb run` only); host-runner tests run in Debug
214 (`@testable import`). Sandbox started on the Mac with `sbx env run --force` (`sbxenv.yaml`).218 (`@testable import`). Sandbox started on the Mac with `sbx env run --force` (`sbxenv.yaml`).
215 Lint: `swiftlint lint --quiet Sources Tests` and `swift-format` (4 spaces); keep wrapped219 Lint: `swiftlint lint --quiet Sources Tests` and `swift-format` (4 spaces); keep wrapped