Skip to content

Commit

Permalink
Update build tags of user lookup code
Browse files Browse the repository at this point in the history
  • Loading branch information
debfx committed Sep 25, 2022
1 parent c30eafd commit 4902b38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion unix_user_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
// license that can be found in the LICENSE.BSD file.
// SPDX-License-Identifier: BSD-3-Clause

// +build aix darwin dragonfly freebsd js,wasm !android,linux netbsd openbsd solaris
//go:build (aix || darwin || dragonfly || freebsd || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
// +build aix darwin dragonfly freebsd !android,linux netbsd openbsd solaris
// +build cgo
// +build !osusergo

package main

Expand Down
3 changes: 2 additions & 1 deletion unix_user_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
// license that can be found in the LICENSE.BSD file.
// SPDX-License-Identifier: BSD-3-Clause

//go:build (aix || darwin || dragonfly || freebsd || (js && wasm) || (!android && linux) || netbsd || openbsd || solaris) && (!cgo || osusergo)
// +build aix darwin dragonfly freebsd js,wasm !android,linux netbsd openbsd solaris
// +build !cgo
// +build !cgo osusergo

package main

Expand Down

0 comments on commit 4902b38

Please sign in to comment.