cmd/go: "internal/abi" needs to be compiled with "-+" #45144
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Packages that package runtime depends on are supposed to be compiled with
-+
so the compiler knows to do some runtime-specific behavior. cmd/go has a hard-coded list of known packages that runtime depends on, but this wasn't updated when "internal/abi" was added:go/src/cmd/go/internal/work/gc.go
Lines 90 to 100 in e0fae78
We should update the list, and add a test to make sure they don't fall out of sync again in the future.
Alternatively, cmd/go can just use its knowledge of which packages runtime depends on.
/cc @bcmills @mknyszek
The text was updated successfully, but these errors were encountered: