• Russ Cox's avatar
    cmd/go: ignore C files when CGO_ENABLED=0 · 0c7ccbf6
    Russ Cox authored
    Before, those C files might have been intended for the Plan 9 C compiler,
    but that option was removed in Go 1.5. We can simplify the maintenance
    of cgo packages now if we assume C files (and C++ and M and SWIG files)
    should only be considered when cgo is enabled.
    
    Also remove newly unnecessary build tags in runtime/cgo's C files.
    
    Fixes #14123
    
    Change-Id: Ia5a7fe62b9469965aa7c3547fe43c6c9292b8205
    Reviewed-on: https://go-review.googlesource.com/19613Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    0c7ccbf6
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vet Loading commit data...
yacc Loading commit data...