summaryrefslogtreecommitdiff
path: root/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-05-24 17:08:52 +0200
committercyBerta <cyberta@riseup.net>2019-08-02 01:49:37 +0200
commit8ffbb96d908fdc5a17255ec3fbdc807f663ade38 (patch)
treef3f2865ff2925669fc1a71dcd2e8d75360f8c0fe /go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
parentaf49cc0388441a772daddc4a08fdab53165424e6 (diff)
add shapeshifter dispatcher, go environment and buildscript for the CI
Diffstat (limited to 'go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d')
-rw-r--r--go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d18
1 files changed, 18 insertions, 0 deletions
diff --git a/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d b/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
new file mode 100644
index 00000000..52b2ab6e
--- /dev/null
+++ b/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
@@ -0,0 +1,18 @@
+// Code generated by cmd/cgo; DO NOT EDIT.
+
+//line /workdir/go/src/runtime/race/race.go:1:1
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build race,linux,amd64 race,freebsd,amd64 race,netbsd,amd64 race,darwin,amd64 race,windows,amd64 race,linux,ppc64le
+
+package race
+
+// This file merely ensures that we link in runtime/cgo in race build,
+// this is turn ensures that runtime uses pthread_create to create threads.
+// The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
+// Calls to the runtime are done directly from src/runtime/race.go.
+
+// void __race_unused_func(void);
+import _ "unsafe"