• Russ Cox's avatar
    misc/cgo/test: make test work with -linkmode=internal · 41fd4f98
    Russ Cox authored
    The static func named thread in issue5337.go's C snippet
    conflicts with the static func named thread in issue3350.go's C snippet.
    I don't know why (they're both static) but I also don't care,
    because -linkmode=internal only needs to be able to handle
    the cgo in the standard library, and it does.
    
    Change the test to avoid this problem.
    
    Fixes build (after run.bash is fixed to detect the breakage).
    
    R=minux.ma
    TBR=minux.ma
    CC=golang-dev
    https://golang.org/cl/11201043
    41fd4f98
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...