1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:24:42 -07:00
This commit is contained in:
Adam Benhassen 2024-09-13 10:21:00 +02:00
parent d7e52fb512
commit 29d3054918
2 changed files with 3 additions and 12 deletions

View File

@ -1,12 +0,0 @@
// Copyright 2024 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.
//go:build linux
package runtime
import "unsafe"
//go:linkname _cgo_is_musl _cgo_is_musl
var _cgo_is_musl unsafe.Pointer

View File

@ -368,6 +368,9 @@ func goenvs() {
goenvs_unix() goenvs_unix()
} }
//go:linkname _cgo_is_musl _cgo_is_musl
var _cgo_is_musl unsafe.Pointer
// Called to do synchronous initialization of Go code built with // Called to do synchronous initialization of Go code built with
// -buildmode=c-archive or -buildmode=c-shared. // -buildmode=c-archive or -buildmode=c-shared.
// None of the Go runtime is initialized. // None of the Go runtime is initialized.