Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
bd72d2c6
Commit
bd72d2c6
authored
Sep 29, 2014
by
Adam Langley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go/build: add go1.4 tag.
LGTM=bradfitz R=bradfitz CC=golang-codereviews
https://golang.org/cl/138000044
parent
192665ed
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
build.go
src/go/build/build.go
+3
-3
doc.go
src/go/build/doc.go
+1
-0
No files found.
src/go/build/build.go
View file @
bd72d2c6
...
...
@@ -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"
:
...
...
src/go/build/doc.go
View file @
bd72d2c6
...
...
@@ -100,6 +100,7 @@
// - "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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment