1
0
mirror of https://github.com/golang/go synced 2024-10-04 10:11:21 -06:00
go/src/cmd
Russ Cox cdc5356c93 cmd/api: fix tool for recent go/build change
Asking about runtime/cgo when CgoEnabled=false now correctly
returns an error from build.Import (specifically, NoGoError), because
there are no buildable Go files in that directory.

The API tool was depending on it returning a package with no Go
files instead. Correct that assumption.

Fixes all.bash on local machines.
(Dashboard appears not to be running the api tool at all.)

Update #6124

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/13385046
2013-09-11 14:42:34 -04:00
..
5a libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
5c libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
5g cmd/5g, cmd/6g, cmd/8g: simplify for loop in bitmap generation 2013-09-06 16:49:11 -04:00
5l cmd/5l,cmd/6l,cmd/8l: fix dragonflydynld path 2013-08-31 22:02:21 +10:00
6a libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
6c libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
6g build: more "undefined behavior" fixes 2013-09-10 14:54:55 -04:00
6l build: more "undefined behavior" fixes 2013-09-10 14:54:55 -04:00
8a libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
8c libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
8g cmd/5g, cmd/6g, cmd/8g: simplify for loop in bitmap generation 2013-09-06 16:49:11 -04:00
8l cmd/6l, cmd/8l: fix MOVL MOVQ optab 2013-09-10 14:53:41 -04:00
addr2line libmach: update for Go 1.2 pcln table 2013-07-18 10:12:28 -04:00
api cmd/api: fix tool for recent go/build change 2013-09-11 14:42:34 -04:00
cc build: remove various uses of C undefined behavior 2013-09-09 15:07:23 -04:00
cgo cmd/cgo: replace C.malloc with our own wrapper 2013-09-11 11:30:08 -04:00
dist cmd/dist: Plan 9 build needs an additional include path 2013-09-06 16:15:44 +10:00
fix cmd/fix: remove obsolete testdata. 2013-06-02 15:40:32 +02:00
gc build: remove various uses of C undefined behavior 2013-09-09 15:07:23 -04:00
go go/build: reject directory with only cgo files if cgo not in use 2013-09-11 13:25:30 -04:00
gofmt cmd/gofmt: sort more, remove some duplicate imports 2013-09-06 16:25:15 -04:00
ld build: remove various uses of C undefined behavior 2013-09-09 15:07:23 -04:00
nm cmd/nm: don't add filename elements for m symbols 2013-04-03 18:23:43 -07:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack build: remove various uses of C undefined behavior 2013-09-09 15:07:23 -04:00
prof all: clean up C function prototypes 2013-02-26 09:51:33 -08:00
yacc cmd/yacc: replace units example with simpler expr example 2013-09-11 09:01:47 -07:00