commit | c3e33c35d6c8ae81c22a6ef6be8deadeb2fdefd5 | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Sun May 21 02:32:00 2023 +0200 |
committer | GitHub <noreply@github.com> | Sat May 20 17:32:00 2023 -0700 |
tree | 15c5adf9dec0eb60d9209f23c80a40bdf8ab9349 | |
parent | 8c30dd4b43d3c4980e11ed7cb182beeb1be9ea76 [diff] |
Create empty `.go` file in a random location (#3566) Isolating the empty `.go` files generated for targets without sources and removing them after a build turned out not to solve issues with concurrent unsandboxed builds causing races. Instead, just generate the file in a temporary location, which for a truly empty file does not result in (non-hermetic) source file paths being included in the archive. Along the way fix a potential source of non-hermeticity in `go_bazel_test`.