]> Cypherpunks repositories - gostls13.git/commitdiff
test: disable nilptr on windows/arm64
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2021 06:01:18 +0000 (01:01 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:40:22 +0000 (00:40 +0000)
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>
test/nilptr.go

index c9a044dd362edc713c838a864dd98b024cdbcff6..b296c88c99408a6fe6a96c6a2f06a69b40c20606 100644 (file)
@@ -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