You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a static binary, the osusergo build-tag
should be used so that a pure go implementation of the
`os/user` package is used.
relates to:
- golang/go#23265 os/user: add build tags to select cgo-vs-go
implementation, like net package
- golang/go@62f0127
- golang/go#24787 os/user: LookupId panics on Linux+glibc static build
- golang/go#26492 cmd/go: build: add -static flag
- golang/go#12058 cmd/go: #cgo pkg-config: add conditional --static flag to pkg-config
Signed-off-by: Sebastiaan van Stijn <[email protected]>
0 commit comments