aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/futex_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/futex_test.go')
-rw-r--r--src/pkg/runtime/futex_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/runtime/futex_test.go b/src/pkg/runtime/futex_test.go
index 51f4d0f120..7f3e55c989 100644
--- a/src/pkg/runtime/futex_test.go
+++ b/src/pkg/runtime/futex_test.go
@@ -2,7 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Futex is only available on Linux and FreeBSD.
+// The race detector emits calls to split stack functions so it breaks the test.
// +build linux freebsd
+// +build !race
package runtime_test