mirror of
https://github.com/golang/go.git
synced 2024-09-21 10:28:27 +00:00
runtime/testdata: fix testprogcgo for windows/arm64
Our toolchain does not like -mnop-fun-dllimport. Change-Id: Iaaee01fe0f4b0959406a35eb13aefa390116b483 Reviewed-on: https://go-review.googlesource.com/c/go/+/312043 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
a25d1d45d9
commit
bf9216055b
@ -1,7 +1,7 @@
|
||||
package windows
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -mnop-fun-dllimport
|
||||
#cgo amd64 386 CFLAGS: -mnop-fun-dllimport
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user