Files
antidrift/internal/evidence/raceflag_norace.go
T
felixm ed5085ab6b M1: make evidence tests race-clean
Rewrite TestFakeSourceEmits to synchronize through a channel (it now
asserts emission instead of racing on a shared slice and discarding it).
Skip the live X11 smoke test under -race: xgbutil's event loop has an
internal Quit/Quitting race on shutdown that is never reached in
production (Watch runs under a never-cancelled context.Background()).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 12:57:50 -04:00

7 lines
138 B
Go

//go:build !race
package evidence
// raceDetectorEnabled is true when the binary is built with -race.
const raceDetectorEnabled = false