summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/memory
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/memory')
-rw-r--r--vendor/modernc.org/memory/Makefile5
-rw-r--r--vendor/modernc.org/memory/memory64.go4
-rw-r--r--vendor/modernc.org/memory/mmap_linux_64.go4
3 files changed, 8 insertions, 5 deletions
diff --git a/vendor/modernc.org/memory/Makefile b/vendor/modernc.org/memory/Makefile
index 466c940e..1c033fc5 100644
--- a/vendor/modernc.org/memory/Makefile
+++ b/vendor/modernc.org/memory/Makefile
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-.PHONY: all clean cover cpu editor internalError later mem nuke todo edit
+.PHONY: all clean cover cpu editor internalError later mem nuke todo edit build_all_targets
grep=--include=*.go --include=*.l --include=*.y --include=*.yy
ngrep='TODOOK\|parser\.go\|scanner\.go\|.*_string\.go'
@@ -34,6 +34,8 @@ edit:
editor:
gofmt -l -s -w *.go
+
+build_all_targets:
GOOS=darwin GOARCH=amd64 go build
GOOS=darwin GOARCH=arm64 go build
GOOS=freebsd GOARCH=386 go build
@@ -45,6 +47,7 @@ editor:
GOOS=linux GOARCH=amd64 go build
GOOS=linux GOARCH=arm go build
GOOS=linux GOARCH=arm64 go build
+ GOOS=linux GOARCH=loong64 go build
GOOS=linux GOARCH=mips go build
GOOS=linux GOARCH=mips64le go build
GOOS=linux GOARCH=mipsle go build
diff --git a/vendor/modernc.org/memory/memory64.go b/vendor/modernc.org/memory/memory64.go
index 2e51bb29..63392925 100644
--- a/vendor/modernc.org/memory/memory64.go
+++ b/vendor/modernc.org/memory/memory64.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build amd64 || amd64p32 || arm64 || arm64be || mips64 || mips64le || mips64p32 || mips64p32le || ppc64 || ppc64le || sparc64 || riscv64
-// +build amd64 amd64p32 arm64 arm64be mips64 mips64le mips64p32 mips64p32le ppc64 ppc64le sparc64 riscv64
+//go:build amd64 || amd64p32 || arm64 || arm64be || mips64 || mips64le || mips64p32 || mips64p32le || ppc64 || ppc64le || sparc64 || riscv64 || loong64
+// +build amd64 amd64p32 arm64 arm64be mips64 mips64le mips64p32 mips64p32le ppc64 ppc64le sparc64 riscv64 loong64
package memory // import "modernc.org/memory"
diff --git a/vendor/modernc.org/memory/mmap_linux_64.go b/vendor/modernc.org/memory/mmap_linux_64.go
index 3780c149..6b7e93dc 100644
--- a/vendor/modernc.org/memory/mmap_linux_64.go
+++ b/vendor/modernc.org/memory/mmap_linux_64.go
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE-GO file.
-//go:build linux && (amd64 || arm64 || mips64 || mips64le || riscv64 || ppc64le)
+//go:build linux && (amd64 || arm64 || mips64 || mips64le || riscv64 || ppc64le || loong64)
// +build linux
-// +build amd64 arm64 mips64 mips64le riscv64 ppc64le
+// +build amd64 arm64 mips64 mips64le riscv64 ppc64le loong64
package memory