summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-02-18 15:45:20 +0100
committerLinus Färnstrand <linus@mullvad.net>2025-02-18 15:45:20 +0100
commit1f9762cd1ce1172f9efc88e8394e232df14a2f9d (patch)
tree692ec6b53f78d6268c7fdb13e5f9162684511bbf /android
parent36e03e11c921f5c0d49c94d7fe2f272e7dafa553 (diff)
parent802570a5521d41ec9a90dae28977386a5d6cc7f9 (diff)
downloadmullvadvpn-1f9762cd1ce1172f9efc88e8394e232df14a2f9d.tar.xz
mullvadvpn-1f9762cd1ce1172f9efc88e8394e232df14a2f9d.zip
Merge branch 'add-script-and-git-hook-to-automate-installation-of-rust-droid-1786'
Diffstat (limited to 'android')
-rw-r--r--android/BuildInstructions.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md
index 5755737df8..0c7b40907f 100644
--- a/android/BuildInstructions.md
+++ b/android/BuildInstructions.md
@@ -151,7 +151,13 @@ environment variables:
- Install Android targets
```bash
- rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
+ ./scripts/setup-rust android
+ ```
+
+- (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
```
#### 6. Download wireguard-go-rs submodule