]> Cypherpunks repositories - gostls13.git/commit
cmd/fix: print warning to stderr, show provenance
authorRuss Cox <rsc@golang.org>
Mon, 29 Jun 2020 18:20:04 +0000 (14:20 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 12 Oct 2020 18:31:29 +0000 (18:31 +0000)
commit112c4d569e8881cc9910039bf4c45176a9b1f619
tree584734948f0c60ec812b8cf9de1fd434b6457bdd
parent2f4368c174f616b6623e66ca4c84e701d209fa4f
cmd/fix: print warning to stderr, show provenance

This cgo warning shows up when running "go test" in cmd/fix:

warning: no cgo types: exit status 1

(It may show up at other times too.)

Warnings belong on standard error, and while we're here,
make it say where it came from.

Change-Id: I3eaba592a219cc6abf2d584762374f9d6ec5135e
Reviewed-on: https://go-review.googlesource.com/c/go/+/240597
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/fix/typecheck.go