1
0
mirror of https://github.com/golang/go synced 2024-11-14 18:00:25 -07:00
go/test/internal/runtime/sys/README
Michael Pratt 81c92352a7 runtime: move getcallerpc to internal/runtime/sys
Moving these intrinsics to a base package enables other internal/runtime
packages to use them.

For #54766.

Change-Id: I0b3eded3bb45af53e3eb5bab93e3792e6a8beb46
Reviewed-on: https://go-review.googlesource.com/c/go/+/613260
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-09-17 15:14:14 +00:00

8 lines
381 B
Plaintext

// 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.
The internal/runtime/sys directory contains tests that specifically need to be
compiled as-if in the internal/runtime/sys package. For error-check tests,
these require the additional flags -+ and -p=internal/runtime/sys.