// If we're building on an actual arm system, and not building
// a cross-compiling toolchain, try to exec ourselves
// to detect whether VFP is supported and set the default GOARM.
- // Windows requires ARMv7, so we can skip the check.
- // We've always assumed Android is ARMv7 too.
- if gohostarch == "arm" && goarch == "arm" && goos == gohostos && goos != "windows" && goos != "android" {
+ // We've always assumed Android is ARMv7.
+ if gohostarch == "arm" && goarch == "arm" && goos == gohostos && goos != "android" {
// Try to exec ourselves in a mode to detect VFP support.
// Seeing how far it gets determines which instructions failed.
// The test is OS-agnostic.
t.Logf("timeout before response received")
continue
}
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Fatal(err)
t.Errorf("ReadAll error = %q; expected some context.DeadlineExceeded", err)
}
if got := ne.Error(); !strings.Contains(got, "(Client.Timeout") {
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Errorf("error string = %q; missing timeout substring", got)
t.Errorf("ReadAll error = %q; expected some context.DeadlineExceeded", err)
}
if got := ne.Error(); !strings.Contains(got, "Client.Timeout exceeded") {
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Errorf("error string = %q; missing timeout substring", got)
// See memclrNoHeapPointers Go doc for important implementation constraints.
// func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
-// Also called from assembly in sys_windows_arm.s without g (but using Go stack convention).
TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-8
MOVW ptr+0(FP), TO
MOVW n+4(FP), N