Skip to content

Commit

Permalink
test: disable nilptr on windows/arm64
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rsc committed Feb 19, 2021
1 parent 985d087 commit a3b97e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/nilptr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a3b97e7

Please sign in to comment.