]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/switch-xcode.sh
Auto merge of #63810 - oli-obk:const_offset_from, r=RalfJung,nikic
[rust.git] / src / ci / scripts / switch-xcode.sh
1 #!/bin/bash
2 # Switch to XCode 9.3 on OSX since it seems to be the last version that supports
3 # i686-apple-darwin. We'll eventually want to upgrade this and it will probably
4 # force us to drop i686-apple-darwin, but let's keep the wheels turning for now.
5
6 set -euo pipefail
7 IFS=$'\n\t'
8
9 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
10
11 if isMacOS; then
12     sudo xcode-select --switch /Applications/Xcode_9.3.app
13 fi