mirror of
https://github.com/element-hq/element-android
synced 2024-12-22 17:20:48 +03:00
rust: Build the bindings in release mode
This commit is contained in:
parent
c97e384790
commit
ab8d365c10
1 changed files with 6 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
||||||
x86_64:
|
x86_64:
|
||||||
cargo build --target x86_64-linux-android
|
cargo build --release --target x86_64-linux-android
|
||||||
install -D target/x86_64-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86_64/libuniffi_olm.so
|
install -D target/x86_64-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86_64/libuniffi_olm.so
|
||||||
|
|
||||||
x86:
|
x86:
|
||||||
cargo build --target i686-linux-android
|
cargo build --release --target i686-linux-android
|
||||||
install -D target/i686-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86/libuniffi_olm.so
|
install -D target/i686-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86/libuniffi_olm.so
|
||||||
|
|
||||||
aarch64:
|
aarch64:
|
||||||
cargo build --target aarch64-linux-android
|
cargo build --release --target aarch64-linux-android
|
||||||
install -D target/aarch64-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/arm64-v8a/libuniffi_olm.so
|
install -D target/aarch64-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/arm64-v8a/libuniffi_olm.so
|
||||||
|
|
Loading…
Reference in a new issue