fix(cmd): honour //go:build in the corpus audit
Test / test (push) Successful in 2m32s

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-23 21:03:16 +02:00
parent 74d6b90d69
commit 26c5008136
5 changed files with 247 additions and 18 deletions
+12
View File
@@ -21,6 +21,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
TEXT argument area to the size the `// func` signature implies, computed
by the new `lint.ExpectedArgSize`.
### Changed
- **The corpus audit assembles like the build.** A file's `//go:build`
constraint decides which target architectures attempt it: cpu_x86.s is
an x86 build alone, and the msan and goexperiment.runtimesecret trees
are compiled by no supported build, so they leave the measured set
instead of failing it. The headline now reads "assemble for every
applicable target": every real-code GOROOT assembly file, the tree
without testdata, assembles for all four architectures (250 of 250,
100 %); over the whole tree including testdata the measure is 271 of
322 (84.2 %).
### Fixed
- **Rename edits land in their own documents.** A rename collected the