diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2012-06-01 18:42:36 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2012-06-01 18:42:36 -0700 |
| commit | b7c2ade6964139b99d35f8f4d10d061e4443985f (patch) | |
| tree | 2bc9d1327acbfe6fb3eb0b985dafd85522d20478 /src/cmd/api/goapi.go | |
| parent | 0e45890c8bafbaeed18c22f462d5435e43705264 (diff) | |
| download | go-git-b7c2ade6964139b99d35f8f4d10d061e4443985f.tar.gz | |
api: add FreeBSD to go1 API
Now that gri has made go/parser 15% faster, I offer this
change to slow back down cmd/api ~proportionately, adding
FreeBSD to the go1-checked set of platforms.
Really we should have done this earlier. This will prevent us
from breaking FreeBSD compatibility accidentally in the
future.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6279044
Diffstat (limited to 'src/cmd/api/goapi.go')
| -rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index b10a51c510..a84102fdd1 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -57,6 +57,8 @@ var contexts = []*build.Context{ {GOOS: "darwin", GOARCH: "amd64"}, {GOOS: "windows", GOARCH: "amd64"}, {GOOS: "windows", GOARCH: "386"}, + {GOOS: "freebsd", GOARCH: "amd64"}, + {GOOS: "freebsd", GOARCH: "386"}, } func contextName(c *build.Context) string { |
