mirror of
https://github.com/golang/go.git
synced 2025-05-28 02:41:30 +00:00
os/user: fix build with "osusergo" build tag
Fixes #24841 Updates #24845 Change-Id: I4a5c05f4cbf9692bd6cab48baf3cc51fa43fe5a9 Reviewed-on: https://go-review.googlesource.com/106837 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
b08a9b7ecc
commit
98dfd400e6
@ -3,7 +3,7 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin dragonfly freebsd !android,linux netbsd openbsd solaris
|
||||
// +build cgo
|
||||
// +build cgo,!osusergo
|
||||
|
||||
package user
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build dragonfly freebsd !android,linux netbsd openbsd
|
||||
// +build cgo,!osusergo
|
||||
|
||||
package user
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user