Skip to content

Commit d6638d3

Browse files
mengzhuodmitshur
authored andcommitted
_content: document cgo requirement for race detector
The race detector doc doesn't state cgo, the content is basically as ALTree suggested in issue 51235. Fixes golang/go#51235 Change-Id: I03356c01f4542e69a02c712063afb77ae68cc90f Reviewed-on: https://go-review.googlesource.com/c/website/+/386454 Reviewed-by: DO NOT USE <[email protected]> Trust: Dmitri Shuralyov <[email protected]>
1 parent 3962a08 commit d6638d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_content/doc/articles/race_detector.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ <h3 id="Unsynchronized_send_and_close_operations">Unsynchronized send and close
410410
close(c)
411411
</pre>
412412

413-
<h2 id="Supported_Systems">Supported Systems</h2>
413+
<h2 id="Requirements">Requirements</h2>
414414

415415
<p>
416-
The race detector runs on
416+
The race detector requires cgo to be enabled and supports
417417
<code>linux/amd64</code>, <code>linux/ppc64le</code>,
418418
<code>linux/arm64</code>, <code>freebsd/amd64</code>,
419419
<code>netbsd/amd64</code>, <code>darwin/amd64</code>,

0 commit comments

Comments
 (0)