Skip to content

Commit b80969c

Browse files
committed
term: add aix and zos build tags
Some packages depending on golang.org/x/term still need to build with old Go versions and adding these build tags allows them build this package with Go 1.11 and older. Change-Id: I82d8c71120ff82d8ace07f96636f16c86edb15e5 Reviewed-on: https://go-review.googlesource.com/c/term/+/312249 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent 72f3dc4 commit b80969c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

term_unix_aix.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build aix
6+
// +build aix
7+
58
package term
69

710
import "golang.org/x/sys/unix"

term_unix_zos.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build zos
6+
// +build zos
7+
58
package term
69

710
import "golang.org/x/sys/unix"

0 commit comments

Comments
 (0)