Skip to content

Commit 8de2f60

Browse files
committed
go/build: add go1.11 build tag
As usual, adding go1.11 early in the cycle so that we can start regression testing of the master toolchain. Change-Id: Ie96eca7223722d60d7acc6b3b996b76740c36419 Reviewed-on: https://go-review.googlesource.com/93775 Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> Run-TryBot: Mikio Hara <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 5114a7d commit 8de2f60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/go/build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func defaultContext() Context {
292292
// say "+build go1.x", and code that should only be built before Go 1.x
293293
// (perhaps it is the stub to use in that case) should say "+build !go1.x".
294294
// NOTE: If you add to this list, also update the doc comment in doc.go.
295-
const version = 10 // go1.10
295+
const version = 11 // go1.11
296296
for i := 1; i <= version; i++ {
297297
c.ReleaseTags = append(c.ReleaseTags, "go1."+strconv.Itoa(i))
298298
}

src/go/build/doc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
// - "go1.8", from Go version 1.8 onward
108108
// - "go1.9", from Go version 1.9 onward
109109
// - "go1.10", from Go version 1.10 onward
110+
// - "go1.11", from Go version 1.11 onward
110111
// - any additional words listed in ctxt.BuildTags
111112
//
112113
// If a file's name, after stripping the extension and a possible _test suffix,

0 commit comments

Comments
 (0)