]> Cypherpunks repositories - gostls13.git/commit
runtime: make TestWindowsStackMemory build even with CGO_ENABLED=0 set
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 14 Nov 2017 01:51:58 +0000 (12:51 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 Nov 2017 03:53:15 +0000 (03:53 +0000)
commitcea92e8d130540969056be58be188a8487d90a88
treed97ac5227ceff1294996da2a826a6858ebcb8485
parentb29bb78a7e0325a2522e14c25053c06a9a8ea1db
runtime: make TestWindowsStackMemory build even with CGO_ENABLED=0 set

Just copy some code to make TestWindowsStackMemory build
when CGO_ENABLED is set to 0.

Fixes #22680

Change-Id: I63f9b409a3a97b7718f5d37837ab706d8ed92e81
Reviewed-on: https://go-review.googlesource.com/77430
Reviewed-by: Chris Hines <chris.cs.guy@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/crash_cgo_test.go
src/runtime/syscall_windows_test.go