Intermediate Go (Golang)
Q73 / 100

What does go build -race do?

Correct! Well done.

Incorrect.

The correct answer is B) Enables the race detector that instruments the binary to detect data races at runtime

B

Correct Answer

Enables the race detector that instruments the binary to detect data races at runtime

Explanation

The race detector instruments memory accesses. When two goroutines access the same memory without synchronization, it reports "DATA RACE" with a full stack trace.

Progress
73/100