mirror of
https://github.com/golang/go
synced 2025-02-23 03:56:14 +00:00
Moving these intrinsics to a base package enables other internal/runtime packages to use them. For #54766. Change-Id: I45a530422207dd94b5ad4eee51216c9410a84040 Reviewed-on: https://go-review.googlesource.com/c/go/+/613261 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
// 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.