From 485c06622276409d278cff879a9f8b2569cfd01f Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 4 Apr 2013 16:10:30 +1100 Subject: [PATCH] doc: mention availability of race detector in go1.1 doc R=r CC=golang-dev https://golang.org/cl/8301044 --- doc/go1.1.html | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.50.0