diff --git a/src/runtime/syscall_windows_test.go b/src/runtime/syscall_windows_test.go index cb9dfcde9d..677eb5f82d 100644 --- a/src/runtime/syscall_windows_test.go +++ b/src/runtime/syscall_windows_test.go @@ -578,6 +578,9 @@ func forceStackCopy() (r int) { } func TestReturnAfterStackGrowInCallback(t *testing.T) { + if _, err := exec.LookPath("gcc"); err != nil { + t.Skip("skipping test: gcc is missing") + } const src = ` #include