memory: coverage-free Release builds verified on the Mac
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 | ||
| 403 | 403 | MB) but the build log (.build/xcode/Logs/Build/*.xcactivitylog, gzip) still showed |
| 404 | 404 | `-profile-coverage-mapping -profile-generate` on swiftc and `-fprofile-instr-generate` at link: |
| 405 | 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. | |
| @@ -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 showed | 403 | 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 | ||
| 209 | 209 | **Install on the Mac**: `scripts/install.sh` (incremental Release build in `.build/xcode`, copies rzb + |
| 210 | 210 | bundles to `<prefix>/lib/razorbill`, writes a launcher `<prefix>/bin/rzb` that execs it — a copy of |
| 211 | 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 | 217 | razorbill`, `host.sh run . rzb <args>` (no TTY: `rzb run` only); host-runner tests run in Debug |
| 214 | 218 | (`@testable import`). Sandbox started on the Mac with `sbx env run --force` (`sbxenv.yaml`). |
| 215 | 219 | 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 of | 210 | 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 Debug | 217 | 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 wrapped | 219 | Lint: `swiftlint lint --quiet Sources Tests` and `swift-format` (4 spaces); keep wrapped |