mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-06 00:57:18 -04:00
go.sys: fix imports to cgc/p/go.sys, add build tags
Approach but probably not achieve a green build. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/126120043
This commit is contained in:
@@ -264,7 +264,7 @@ package $package
|
||||
import "unsafe"
|
||||
EOF
|
||||
|
||||
print "import \"unix\"\n" if $package ne "unix";
|
||||
print "import \"code.google.com/p/go.sys/unix\"\n" if $package ne "unix";
|
||||
|
||||
print <<EOF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user