cmd/distpack: binary and source distributions make go_$GOOS_$GOARCH_exec programs non-executable #60843
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Distpack produces 3 outputs as described here:
go/src/cmd/distpack/pack.go
Lines 8 to 11 in 3e7ec13
The first two include the two go_$GOOS_$GOARCH_exec programs in misc/wasm, but change their file mode to not have the executable bit set. This is contrast to their canonical source, and all other executable scripts like src/all.bash.
Changing
mode
to recognize filenames of this form (as done here) makes them executable.For reference, the exact output of distpack's output before and after the change is:
diff
Since the module zips do not include misc/wasm at all, there is no change. Which means changing
mode
doesn't affect previously generated module zips.CC @rsc, @prattmic, @golang/release.
The text was updated successfully, but these errors were encountered: