Skip to content

Commit

Permalink
go/build: add go1.3 release tag
Browse files Browse the repository at this point in the history
Fixes #7918

LGTM=dave
R=rsc, dave
CC=golang-codereviews
https://golang.org/cl/91980043
  • Loading branch information
bradfitz committed May 1, 2014
1 parent 5cb67d7 commit 3100088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pkg/go/build/build.go
Expand Up @@ -292,10 +292,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.3 the line will read
// c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3"}
// When we reach Go 1.4 the line will read
// c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3", "go1.4"}
// and so on.
c.ReleaseTags = []string{"go1.1", "go1.2"}
c.ReleaseTags = []string{"go1.1", "go1.2", "go1.3"}

switch os.Getenv("CGO_ENABLED") {
case "1":
Expand Down

0 comments on commit 3100088

Please sign in to comment.