aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgc_boring.go
blob: 149ba51dd7e6fe3e77d658ef4ecb689aca2adaac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2022 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 boringcrypto

package runtime

import "unsafe"

//go:linkname boring_registerCache crypto/internal/boring.registerCache
func boring_registerCache(p unsafe.Pointer) {
	boringCaches = append(boringCaches, p)
}