diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2025-02-18 15:45:20 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2025-02-18 15:45:20 +0100 |
| commit | 1f9762cd1ce1172f9efc88e8394e232df14a2f9d (patch) | |
| tree | 692ec6b53f78d6268c7fdb13e5f9162684511bbf /ios | |
| parent | 36e03e11c921f5c0d49c94d7fe2f272e7dafa553 (diff) | |
| parent | 802570a5521d41ec9a90dae28977386a5d6cc7f9 (diff) | |
| download | mullvadvpn-1f9762cd1ce1172f9efc88e8394e232df14a2f9d.tar.xz mullvadvpn-1f9762cd1ce1172f9efc88e8394e232df14a2f9d.zip | |
Merge branch 'add-script-and-git-hook-to-automate-installation-of-rust-droid-1786'
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/BuildInstructions.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ios/BuildInstructions.md b/ios/BuildInstructions.md index bc586d00a5..2ba1cf9e9b 100644 --- a/ios/BuildInstructions.md +++ b/ios/BuildInstructions.md @@ -10,8 +10,16 @@ Rust should be installed via [rustup](https://rustup.rs). Once rust is installed, do not forget to install the iOS targets: ```bash -rustup target install aarch64-apple-ios aarch64-apple-ios-sim +./scripts/setup-rust ios ``` + +(Optional) Run the following to install a git `post-checkout` hook that will automatically +run the `setup-rust` script when the Rust version specified in the `rust-toolchain.toml` file changes: + +```bash +.scripts/setup-rust install-hook +``` + You only need to install the ARM simulator target, which matches the current Apple Silicon architecture. Once both rust and go are installed, ensure they are available in your path. |
