aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2017-11-14 10:57:14 -0500
committerRuss Cox <rsc@golang.org>2017-11-16 17:34:32 +0000
commit92c35824710e001b8a6b19cddf739c0b6b05306a (patch)
treec9cc5d75dec47222f296a5ca9d617b8275296586 /src/database/sql
parent62dc3c3f0dc340ad98f737542523c15ee32d671d (diff)
downloadgo-92c35824710e001b8a6b19cddf739c0b6b05306a.tar.xz
cmd/go/internal/work: do not write trivial.c when testing gcc flags
CL 61111 disabled the writing of trivial.c in -n mode, which made -n mode at least inconsistent with regular mode in how it was testing for flags. We think that both were getting the same answer, so avoid creating the file in both modes to make sure. If this CL turns out to be wrong, then when we revert it we should make sure that the empty file is written even in -n mode, because this check affects the command-line flags printed by other commands in that mode. Change-Id: I0a050bfc148fe5a9d430a153d7816b2821277f0d Reviewed-on: https://go-review.googlesource.com/78115 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions