LGTM but adg and iant should take a look http://codereview.appspot.com/5495068/diff/6001/src/cmd/go/build.go File src/cmd/go/build.go (right): http://codereview.appspot.com/5495068/diff/6001/src/cmd/go/build.go#newcode382 src/cmd/go/build.go:382: ...
13 years, 7 months ago
(2011-12-16 21:48:28 UTC)
#2
> http://codereview.appspot.com/5495068/diff/2012/src/cmd/go/build.go#newcode373 > src/cmd/go/build.go:373: gcargs = append(gcargs, "-+") > should really document this flag in ...
13 years, 7 months ago
(2011-12-16 23:06:40 UTC)
#4
> http://codereview.appspot.com/5495068/diff/2012/src/cmd/go/build.go#newcode373
> src/cmd/go/build.go:373: gcargs = append(gcargs, "-+")
> should really document this flag in 6g
it is documented in the source code.
i'd rather not brag about it in public.
> http://codereview.appspot.com/5495068/diff/2012/src/cmd/go/build.go#newcode409
> src/cmd/go/build.go:409: // The same convention applies for .s files.
> so in a cgo package .s files are built by gcc? doesn't make sense to me.
> although I've not encountered a package with cgo and .s files before. i
> don' think the assemble step should be inside this if block, correct me
> if I'm wrong.
if the c convention makes sense, i don't see why the s wouldn't.
it hasn't come up yet but i think it's more consistent this way.
Issue 5495068: code review 5495068: go: build runtime
(Closed)
Created 13 years, 7 months ago by rsc
Modified 13 years, 7 months ago
Reviewers:
Base URL:
Comments: 5