summaryrefslogtreecommitdiffhomepage
path: root/pkg/memutil
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/memutil')
-rw-r--r--pkg/memutil/BUILD14
-rw-r--r--pkg/memutil/memutil_linux_unsafe_state_autogen.go5
-rw-r--r--pkg/memutil/memutil_state_autogen.go3
3 files changed, 8 insertions, 14 deletions
diff --git a/pkg/memutil/BUILD b/pkg/memutil/BUILD
deleted file mode 100644
index bea595286..000000000
--- a/pkg/memutil/BUILD
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//tools:defs.bzl", "go_library")
-
-package(licenses = ["notice"])
-
-go_library(
- name = "memutil",
- srcs = [
- "memfd_linux_unsafe.go",
- "memutil.go",
- "mmap.go",
- ],
- visibility = ["//visibility:public"],
- deps = ["@org_golang_x_sys//unix:go_default_library"],
-)
diff --git a/pkg/memutil/memutil_linux_unsafe_state_autogen.go b/pkg/memutil/memutil_linux_unsafe_state_autogen.go
new file mode 100644
index 000000000..173297149
--- /dev/null
+++ b/pkg/memutil/memutil_linux_unsafe_state_autogen.go
@@ -0,0 +1,5 @@
+// automatically generated by stateify.
+
+// +build linux
+
+package memutil
diff --git a/pkg/memutil/memutil_state_autogen.go b/pkg/memutil/memutil_state_autogen.go
new file mode 100644
index 000000000..89848555d
--- /dev/null
+++ b/pkg/memutil/memutil_state_autogen.go
@@ -0,0 +1,3 @@
+// automatically generated by stateify.
+
+package memutil