What version of rules_go are you using?
v0.30.0
What version of gazelle are you using?
6bbfc47f1b0a27ee1efeddcc6671f3e4e03235dc
What version of Bazel are you using?
Build label: 5.0.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Jan 19 14:08:54 2022 (1642601334)
Build timestamp: 1642601334
Build timestamp as int: 1642601334
Does this issue reproduce with the latest releases of all the above?
Yes.
What operating system and processor architecture are you using?
and
What did you do?
Wrote a program that tries to access build information via runtime/debug.ReadBuildInfo and built it inside a Git repository.
package main
import (
"fmt"
"runtime/debug"
)
func main() {
info, ok := debug.ReadBuildInfo()
fmt.Println(info, ok)
}
What did you expect to see?
Information about the build environment.
What did you see instead?
What version of rules_go are you using?
v0.30.0
What version of gazelle are you using?
6bbfc47f1b0a27ee1efeddcc6671f3e4e03235dc
What version of Bazel are you using?
Does this issue reproduce with the latest releases of all the above?
Yes.
What operating system and processor architecture are you using?
and
What did you do?
Wrote a program that tries to access build information via
runtime/debug.ReadBuildInfoand built it inside a Git repository.What did you expect to see?
Information about the build environment.
What did you see instead?