summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/BUILD
diff options
context:
space:
mode:
authorBin Lu <bin.lu@arm.com>2020-04-02 01:04:58 -0400
committerBin Lu <bin.lu@arm.com>2020-04-09 03:54:58 -0400
commitab54d4f496dc59721066e295e162b3be903795d5 (patch)
treed0f4197a6b018fb22b9066d047d75ecc85a014cd /pkg/sentry/platform/ring0/BUILD
parent37025990d6ed1f1160937c640855070d9a559cb0 (diff)
remove nogo exemption for machine_arm64_unsafe.go
Minimize the use of unsafe. Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/sentry/platform/ring0/BUILD')
-rw-r--r--pkg/sentry/platform/ring0/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/platform/ring0/BUILD b/pkg/sentry/platform/ring0/BUILD
index 934b6fbcd..cdcad0fdc 100644
--- a/pkg/sentry/platform/ring0/BUILD
+++ b/pkg/sentry/platform/ring0/BUILD
@@ -71,12 +71,14 @@ go_library(
"lib_amd64.go",
"lib_amd64.s",
"lib_arm64.go",
+ "lib_arm64_unsafe.go",
"lib_arm64.s",
"ring0.go",
],
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/cpuid",
+ "//pkg/safecopy",
"//pkg/sentry/platform/ring0/pagetables",
"//pkg/usermem",
],