...

Text file src/runtime/race/mkcgo.sh

Documentation: runtime/race

     1#!/bin/bash
     2
     3hdr='
     4// Copyright 2022 The Go Authors. All rights reserved.
     5// Use of this source code is governed by a BSD-style
     6// license that can be found in the LICENSE file.
     7
     8// Code generated by mkcgo.sh. DO NOT EDIT.
     9
    10//go:build race
    11
    12'
    13
    14convert() {
    15	(echo "$hdr"; go tool cgo -dynpackage race -dynimport $1) | gofmt
    16}
    17
    18convert race_darwin_arm64.syso >race_darwin_arm64.go
    19convert internal/amd64v1/race_darwin.syso >race_darwin_amd64.go
    20

View as plain text