]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: build iOS-specific code only on iOS
authorCherry Zhang <cherryyz@google.com>
Wed, 14 Oct 2020 23:26:20 +0000 (19:26 -0400)
committerCherry Zhang <cherryyz@google.com>
Sat, 17 Oct 2020 00:01:00 +0000 (00:01 +0000)
commitf1e3c8f14232cde8da8666ad68df493563287634
tree944508fea54aa98d718ed66cf7d050a246fd5e9e
parent05739d6f17c57f09264272621b88725a463234d0
runtime/cgo: build iOS-specific code only on iOS

Don't build them on macOS/ARM64.

Updates #38485.

Change-Id: I9fbea838fdce52db22742487926879761dea0d6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/262559
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/gcc_darwin_arm64.c
src/runtime/cgo/gcc_signal_ios_nolldb.c [moved from src/runtime/cgo/gcc_signal_darwin_nolldb.c with 88% similarity]