]> Cypherpunks repositories - gostls13.git/commitdiff
os/user: fix for arm (non-cgo)
authorRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 15:17:37 +0000 (10:17 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 15:17:37 +0000 (10:17 -0500)
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5504056

src/pkg/os/user/lookup_stubs.go
src/pkg/os/user/lookup_unix.go

index 7fc087c4dc199192048cba47f6456279c7800fc9..ea01f9683d726995f2904be8d9ddc16f140c454b 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build netbsd openbsd plan9 windows
+// +build nocgo
 
 package user
 
index a77aeb73bb014113e8be712c2856a19627bb3451..21c8346b2fdee4976e29f129652a7335a01283ba 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build darwin freebsd linux
+// +build cgo
 
 package user