go icon indicating copy to clipboard operation
go copied to clipboard

cmd/go: `go install -buildmode=c-shared std` does nothing

Open crawshaw opened this issue 10 years ago • 3 comments

Should it? The similar command go install -buildmode=shared std works.

cc @ianlancetaylor

crawshaw avatar Nov 13 '15 19:11 crawshaw

What do you think it should do?

mwhudson avatar Nov 16 '15 10:11 mwhudson

It could either exit with an error, or build the standard library with the relevant codegen args the go tool uses with -buildmode=c-shared. Silently doing nothing is odd.

crawshaw avatar Nov 16 '15 10:11 crawshaw

CL https://golang.org/cl/16928 mentions this issue.

gopherbot avatar Nov 16 '15 11:11 gopherbot