• 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
.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...