• Quentin Smith's avatar
    cmd/go: print more env variables in "go env" · 75fef5a0
    Quentin Smith authored
    "go env" previously only printed a subset of the documented environment
    variables; now it includes everything, such as GO386 and CGO_*.
    
    This also fixes the CGO_CFLAGS environment variable to always have the
    same default. According to iant@ and confirmed by testing, cgo can now
    understand the default value of CGO_CFLAGS.
    
    Fixes #17191.
    
    Change-Id: Icf75055446dd250b6256ef1139e9ce848f4a9d3b
    Reviewed-on: https://go-review.googlesource.com/31330
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Run-TryBot: Quentin Smith <quentin@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    75fef5a0
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...