From: Andrew Gerrand Date: Thu, 4 Apr 2013 05:10:30 +0000 (+1100) Subject: doc: mention availability of race detector in go1.1 doc X-Git-Tag: go1.1rc2~181 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=485c06622276409d278cff879a9f8b2569cfd01f;p=gostls13.git doc: mention availability of race detector in go1.1 doc R=r CC=golang-dev https://golang.org/cl/8301044 --- diff --git a/doc/go1.1.html b/doc/go1.1.html index 5f56a6afe0..6564b8f75d 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -291,6 +291,8 @@ The byte-order-mark change is strictly backward-compatible. A major addition to the tools is a race detector, a way to find bugs in programs caused by problems like concurrent changes to the same variable. This new facility is built into the go tool. +For now, it is only available on Linux, Mac OS X, and Windows systems with +64-bit x86 processors. To enable it, set the -race flag when building or testing your program (for instance, go test -race). The race detector is documented in a separate article.