summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/auxv_unsupported.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-02-10 15:52:55 +0000
committerLibravatar GitHub <noreply@github.com>2025-02-10 15:52:55 +0000
commit4ac5447ad61f9afc73b542d9d6eb36e29fd79af4 (patch)
tree2a9c14fa9e8e984e6db9646213255563171e0508 /vendor/golang.org/x/sys/unix/auxv_unsupported.go
parent[chore]: Bump github.com/minio/minio-go/v7 from 7.0.84 to 7.0.85 (#3772) (diff)
downloadgotosocial-4ac5447ad61f9afc73b542d9d6eb36e29fd79af4.tar.xz
[chore]: Bump golang.org/x/crypto from 0.32.0 to 0.33.0 (#3771)
Diffstat (limited to 'vendor/golang.org/x/sys/unix/auxv_unsupported.go')
-rw-r--r--vendor/golang.org/x/sys/unix/auxv_unsupported.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/auxv_unsupported.go b/vendor/golang.org/x/sys/unix/auxv_unsupported.go
new file mode 100644
index 000000000..1200487f2
--- /dev/null
+++ b/vendor/golang.org/x/sys/unix/auxv_unsupported.go
@@ -0,0 +1,13 @@
+// Copyright 2025 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 !go1.21 && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos)
+
+package unix
+
+import "syscall"
+
+func Auxv() ([][2]uintptr, error) {
+ return nil, syscall.ENOTSUP
+}