mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Add scripts/install-toolchains.sh
This commit is contained in:
parent
60d915fa13
commit
3b4ed28269
4 changed files with 13 additions and 8 deletions
9
scripts/install-toolchains.sh
Executable file
9
scripts/install-toolchains.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Installs Rust cross-compilation toolchains for all supported architectures.
|
||||
#
|
||||
set -e
|
||||
TARGETS="armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android"
|
||||
TOOLCHAIN="$(cat jni/deltachat-core-rust/rust-toolchain)"
|
||||
rustup install "$TOOLCHAIN"
|
||||
rustup target add $TARGETS --toolchain "$TOOLCHAIN"
|
Loading…
Add table
Add a link
Reference in a new issue