Multirust as suggested above. Although I’d suggest a bit different path: instead of keeping stable + nightly, you can build out of 1.0.0 tag as nightly and install it. This way you’ll be sure bench numbers are real as nightlies include codegen changes. Here is a working sample:
cd rust
mkdir build
cd build
../configure --target=armv7-apple-ios,i386-apple-ios,armv7s-apple-ios,aarch64-apple-ios,x86_64-apple-ios --release-channel=nightly --disable-jemalloc
make -j4
make dist
cd dist
multirust update release-compat-ios --installer rust-docs-nightly-x86_64-apple-darwin.tar.gz,rustc-nightly-x86_64-apple-darwin.tar.gz
Note that --release-channel=nightly allows all unstable features including bench although you’ll have warnings anyway.
Note also that you’ll need manually copy cargo to ~/.multirust/toolchains/release-compat-ios/bin - it can be a cargo from nightly or release.
Later on you can select that toolchain by running multirust override release-compat-ios in project dir or multirust default release-compat-ios for global change.