aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cgo
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2020-09-16 15:23:58 +0200
committerElias Naur <mail@eliasnaur.com>2020-10-03 17:02:58 +0000
commit869c02ce1f635960bfc2f06bb52e2b4e17eaa199 (patch)
treeb3941d8aeead90aa9c88334a0c72a055f16bf821 /src/runtime/cgo
parentbb48f9925cf541e7b5f4bfafb9d008671c4ace47 (diff)
downloadgo-869c02ce1f635960bfc2f06bb52e2b4e17eaa199.tar.gz
go-869c02ce1f635960bfc2f06bb52e2b4e17eaa199.zip
misc/ios: add support for running programs on the iOS simulator
Update the README to mention the emulator. Remove reference to gomobile while here; there are multiple ways to develop for iOS today, including using the c-archive buildmode directly. Updates #38485 Change-Id: Iccef75e646ea8e1b9bc3fc37419cc2d6bf3dfdf4 Reviewed-on: https://go-review.googlesource.com/c/go/+/255257 Run-TryBot: Elias Naur <mail@eliasnaur.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Elias Naur <mail@eliasnaur.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/cgo')
-rw-r--r--src/runtime/cgo/gcc_darwin_arm64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/cgo/gcc_darwin_arm64.c b/src/runtime/cgo/gcc_darwin_arm64.c
index fd7d4084c9..9ea43ae4af 100644
--- a/src/runtime/cgo/gcc_darwin_arm64.c
+++ b/src/runtime/cgo/gcc_darwin_arm64.c
@@ -131,7 +131,7 @@ init_working_dir()
fprintf(stderr, "runtime/cgo: chdir(%s) failed\n", dir);
}
- // The test harness in go_darwin_arm_exec passes the relative working directory
+ // The test harness in go_ios_exec passes the relative working directory
// in the GoExecWrapperWorkingDirectory property of the app bundle.
CFStringRef wd_ref = CFBundleGetValueForInfoDictionaryKey(bundle, CFSTR("GoExecWrapperWorkingDirectory"));
if (wd_ref != NULL) {