mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 00:27:17 -04:00
unix: reverse default for 1.11/1.12 split
Make 1.11 the explicitly named case, and 1.12 the default. Change-Id: Ic3674860eb9e8a5bb1cf1da12c5ac583cc0b0633 Reviewed-on: https://go-review.googlesource.com/c/155397 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Keith Randall
parent
36ca6f176f
commit
9fbf701fc3
@@ -27,9 +27,9 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("can't open syscall_darwin_%s.go: %s", arch, err)
|
||||
}
|
||||
in3, err := ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.1_12.go", arch))
|
||||
in3, err := ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.go", arch))
|
||||
if err != nil {
|
||||
log.Fatalf("can't open zsyscall_darwin_%s.1_12.go: %s", arch, err)
|
||||
log.Fatalf("can't open zsyscall_darwin_%s.go: %s", arch, err)
|
||||
}
|
||||
in := string(in1) + string(in2) + string(in3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user