From 758392ede4763e6b9c43de08a92be9e4d1b21c37 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 20 Sep 2023 19:11:56 -0600 Subject: [PATCH] epiccash needs an even older rust version --- scripts/android/build_all.sh | 2 +- scripts/ios/build_all.sh | 2 +- scripts/linux/build_all.sh | 2 +- scripts/macos/build_all.sh | 2 +- scripts/rust_version.sh | 8 ++++---- scripts/windows/build_all.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/android/build_all.sh b/scripts/android/build_all.sh index 19e2ec64c..7f448c508 100755 --- a/scripts/android/build_all.sh +++ b/scripts/android/build_all.sh @@ -4,7 +4,7 @@ set -e # libepiccash requires old rust source ../rust_version.sh -set_rust_to_1680 +set_rust_to_1671 mkdir build . ./config.sh diff --git a/scripts/ios/build_all.sh b/scripts/ios/build_all.sh index 5ff7cb2f4..6b3b6282f 100755 --- a/scripts/ios/build_all.sh +++ b/scripts/ios/build_all.sh @@ -4,7 +4,7 @@ set -e # libepiccash requires old rust source ../rust_version.sh -set_rust_to_1680 +set_rust_to_1671 # ensure ios rust triples are there rustup target add aarch64-apple-ios diff --git a/scripts/linux/build_all.sh b/scripts/linux/build_all.sh index 9a6ee34d9..672668c13 100755 --- a/scripts/linux/build_all.sh +++ b/scripts/linux/build_all.sh @@ -4,7 +4,7 @@ set -e # libepiccash requires old rust source ../rust_version.sh -set_rust_to_1680 +set_rust_to_1671 # for arm # flutter-elinux clean diff --git a/scripts/macos/build_all.sh b/scripts/macos/build_all.sh index a91fb73b2..0e086fc71 100755 --- a/scripts/macos/build_all.sh +++ b/scripts/macos/build_all.sh @@ -4,7 +4,7 @@ set -e # libepiccash requires old rust source ../rust_version.sh -set_rust_to_1680 +set_rust_to_1671 (cd ../../crypto_plugins/flutter_liblelantus/scripts/macos && ./build_all.sh ) & (cd ../../crypto_plugins/flutter_libepiccash/scripts/macos && ./build_all.sh ) & diff --git a/scripts/rust_version.sh b/scripts/rust_version.sh index 91ead188d..8cda1229b 100755 --- a/scripts/rust_version.sh +++ b/scripts/rust_version.sh @@ -1,10 +1,10 @@ #!/bin/sh -set_rust_to_1680() { - if rustup toolchain list | grep -q "1.68.0"; then - rustup default 1.68.0 +set_rust_to_1671() { + if rustup toolchain list | grep -q "1.67.1"; then + rustup default 1.67.1 else - echo "Rust version 1.68.0 is not installed. Please install it using 'rustup install 1.68.0'." >&2 + echo "Rust version 1.67.1 is not installed. Please install it using 'rustup install 1.67.1'." >&2 exit 1 fi } diff --git a/scripts/windows/build_all.sh b/scripts/windows/build_all.sh index 54d340b5e..ee3c1b558 100755 --- a/scripts/windows/build_all.sh +++ b/scripts/windows/build_all.sh @@ -4,7 +4,7 @@ set -e # libepiccash requires old rust source ../rust_version.sh -set_rust_to_1680 +set_rust_to_1671 mkdir -p build (cd ../../crypto_plugins/flutter_libepiccash/scripts/windows && ./build_all.sh ) &