Skip to content

Commit bd384d4

Browse files
committed
misc/ios: don't refer to iostest.bash
iostest.bash might not live much longer, and all.bash is much less confusing and more explicit. Change-Id: If42e8716bbbb02aa3f817dceaabb1aa8076aae1a Reviewed-on: https://go-review.googlesource.com/c/go/+/175178 Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 2c1b513 commit bd384d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

misc/ios/README

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ which will output something similar to
3131
If you have multiple devices connected, specify the device UDID with the GOIOS_DEVICE_ID
3232
variable. Use `idevice_id -l` to list all available UDIDs.
3333

34-
Finally, to run the standard library tests, run iostest.bash with GOARCH set. For example,
34+
Finally, to run the standard library tests, run all.bash as usual, but with the compiler
35+
set to the clang wrapper that invokes clang for iOS. For example,
3536

36-
GOARCH=arm64 ./iostest.bash
37+
GOARCH=arm64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
3738

3839
To use the go tool directly to run programs and tests, put $GOROOT/bin into PATH to ensure
3940
the go_darwin_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests

0 commit comments

Comments
 (0)