aboutsummaryrefslogtreecommitdiff
path: root/starlark/int_generic.go
diff options
context:
space:
mode:
authoralandonovan <adonovan@google.com>2020-07-06 23:27:45 -0400
committerGitHub <noreply@github.com>2020-07-06 23:27:45 -0400
commit474f21a9602da421b967d43fd1106f1898c70e2e (patch)
treef969b585142813b3d73378d6bfecd7f7b60dbd3a /starlark/int_generic.go
parent5993613f691f0f7dd72fe71174b559536582bba0 (diff)
downloadstarlark-go-474f21a9602da421b967d43fd1106f1898c70e2e.tar.gz
starlark: use syscall.Mmap to avoid golang.org/x/sys dependency (#287)
Also, enable the optimization on other POSIX platforms.
Diffstat (limited to 'starlark/int_generic.go')
-rw-r--r--starlark/int_generic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/starlark/int_generic.go b/starlark/int_generic.go
index d423e55..9e84d7f 100644
--- a/starlark/int_generic.go
+++ b/starlark/int_generic.go
@@ -1,4 +1,4 @@
-//+build !linux,!darwin darwin,arm64 !amd64,!arm64,!mips64x,!ppc64x
+//+build !linux,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris darwin,arm64 !amd64,!arm64,!mips64x,!ppc64x
package starlark