Description
For the page allocator rewrite, @mknyszek tried to depend on math/bits
in the runtime. This almost works, but conflicts with go test -coverpkg=all
(#35461) because that tries to instrument math/bits
in ways that are incompatible with running inside the runtime. In order to get this working, CL 206199 duplicated some math/bits
functions into the runtime (and CL 206200 intrinsified them).
This duplication was expedient, but unfortunate, and for 1.15 I'd like to reconsider this. A few possibilities:
-
-coverpkg=all
shouldn't apply to anything the runtime depends on. You'd hardly be losing anything if it didn't covermath/bits
since almost all of those functions are intrinsified anyway. -
If the cover tool can switch to using compiler-inserted coverage information, rather than source rewriting, it's possible this problem will go away.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status