You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with CGO_ENABLED=0:
runtime/race(.text): __libc_malloc: not defined
runtime/race(.text): getuid: not defined
runtime/race(.text): pthread_self: not defined
...
This has several negative effects:
don't work with CGO_ENABLED=0
there is circular dependency between runtime/race and cmd/cgo
cross-compilation is close to impossible
external linkage is required
If we eliminate all libc dependencies from race runtime, all these problems go away.
Dr-Terrible, AlekSi, typeless, ainar-g, sapk and 23 moresilverwind