xruntime/race: New package
Provide race.Enabled for programs to know whether they were built with race detector or not. Code originates from https://lab.nexedi.com/kirr/wendelin.core/tree/25c3184d/wcfs/internal/race See also: https://github.com/golang/go/issues/36477.
Showing
xruntime/race/race_norace.go
0 → 100644
xruntime/race/race_race.go
0 → 100644
Please register or sign in to comment