summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.24/src/runtime/vgetrandom_unsupported.go
blob: 43c53e1198843c4f8af85a9246c476ff698b4da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 && (amd64 || arm64 || arm64be || ppc64 || ppc64le || loong64 || s390x))

package runtime

import _ "unsafe"

//go:linkname vgetrandom
func vgetrandom(p []byte, flags uint32) (ret int, supported bool) {
	return -1, false
}

func vgetrandomDestroy(mp *m) {}

func vgetrandomInit() {}