diff options
author | Russ Cox <rsc@golang.org> | 2021-01-27 01:01:18 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2021-02-19 00:40:22 +0000 |
commit | a3b97e7628680984ae6f29e5af945c11a30e6bdc (patch) | |
tree | c4b9649e857238fdf55971d40593ffdf1804f489 /test/nilptr.go | |
parent | 985d0877829bf13f51120c4743c08ac82c0c8d62 (diff) | |
download | go-a3b97e7628680984ae6f29e5af945c11a30e6bdc.tar.gz go-a3b97e7628680984ae6f29e5af945c11a30e6bdc.zip |
test: disable nilptr on windows/arm64
The address space starts at 4GB, so dummy is too far out.
This CL is part of a stack adding windows/arm64
support (#36439), intended to land in the Go 1.17 cycle.
Change-Id: I5f67e268ce729086d9f9fc8541722fabccfd0145
Reviewed-on: https://go-review.googlesource.com/c/go/+/288823
Trust: Russ Cox <rsc@golang.org>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'test/nilptr.go')
-rw-r--r-- | test/nilptr.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nilptr.go b/test/nilptr.go index c9a044dd36..b296c88c99 100644 --- a/test/nilptr.go +++ b/test/nilptr.go @@ -9,7 +9,8 @@ // +build !aix // +build !darwin !arm64 -// Address space starts at 1<<32 on AIX and on darwin/arm64, so dummy is too far. +// +build !windows !arm64 +// Address space starts at 1<<32 on AIX and on darwin/arm64 and on windows/arm64, so dummy is too far. package main |