mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 17:59:39 +02:00
9 lines
333 B
Bash
Executable file
9 lines
333 B
Bash
Executable file
#!/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"
|