]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: add go1.4 tag.
authorAdam Langley <agl@golang.org>
Mon, 29 Sep 2014 19:23:43 +0000 (12:23 -0700)
committerAdam Langley <agl@golang.org>
Mon, 29 Sep 2014 19:23:43 +0000 (12:23 -0700)
LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/138000044

src/go/build/build.go
src/go/build/doc.go

index 69cb4b2f6b35f21789418375d850994004034c4c..5e11c9b9c50cda134aa2ee7771808cc0d3441808 100644 (file)
@@ -294,10 +294,10 @@ func defaultContext() Context {
        // say "+build go1.x", and code that should only be built before Go 1.x
        // (perhaps it is the stub to use in that case) should say "+build !go1.x".
        //
-       // When we reach Go 1.4 the line will read
-       //      c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3", "go1.4"}
+       // When we reach Go 1.5 the line will read
+       //      c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3", "go1.4", "go1.5"}
        // and so on.
-       c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3"}
+       c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3", "go1.4"}
 
        switch os.Getenv("CGO_ENABLED") {
        case "1":
index d78ef3f1c897625ac8e480de65f16677771a3c37..56878f2b4a81cafa39770d89a7d2112d32f24077 100644 (file)
 //     - "go1.1", from Go version 1.1 onward
 //     - "go1.2", from Go version 1.2 onward
 //     - "go1.3", from Go version 1.3 onward
+//     - "go1.4", from Go version 1.4 onward
 //     - any additional words listed in ctxt.BuildTags
 //
 // If a file's name, after stripping the extension and a possible _test suffix,