Skip to content

Commit adca42a

Browse files
build: pin rust compiler to 1.85.1
1 parent 7fcb1d7 commit adca42a

File tree

8 files changed

+8
-18
lines changed

8 files changed

+8
-18
lines changed

.github/workflows/cont_integration.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ jobs:
1616
defaults:
1717
run:
1818
working-directory: bdk-ffi
19-
strategy:
20-
matrix:
21-
rust:
22-
- version: 1.84.1
23-
clippy: true
19+
2420
steps:
2521
- name: "Checkout"
2622
uses: actions/checkout@v4

.github/workflows/test-android.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ jobs:
3535
with:
3636
ndk-version: r26c
3737

38-
- name: "Install Rust"
39-
uses: dtolnay/rust-toolchain@stable
40-
with:
41-
toolchain: 1.84.1
42-
4338
- name: "Cache Rust"
4439
uses: actions/cache@v4
4540
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ just publishlocal
4545

4646
## Minimum Supported Rust Version (MSRV)
4747

48-
This library should compile with any combination of features with Rust 1.84.1.
48+
This library should compile with any combination of features with Rust 1.85.1.
4949

5050
## Contributing
5151

bdk-android/scripts/build-linux-x86_64.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1818

1919
# Move to the Rust library directory
2020
cd ../bdk-ffi/ || exit
21-
rustup default 1.84.1
2221
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2322

2423
# Build the binaries

bdk-android/scripts/build-macos-aarch64.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1818

1919
# Move to the Rust library directory
2020
cd ../bdk-ffi/ || exit
21-
rustup default 1.84.1
2221
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2322

2423
# Build the binaries

bdk-android/scripts/build-windows-x86_64.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1919

2020
# Move to the Rust library directory
2121
cd ../bdk-ffi/ || exit
22-
rustup default 1.84.1
2322
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2423

2524
# Build the binaries

bdk-ffi/rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "1.85.1"
3+
components = ["clippy", "rustfmt"]

bdk-swift/build-xcframework.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ NAME="bdkffi"
1212
STATIC_LIB_NAME="lib${NAME}.a"
1313
NEW_HEADER_DIR="../bdk-ffi/target/include"
1414

15-
# set required rust version and install component and targets
16-
rustup default 1.84.1
15+
cd ../bdk-ffi/ || exit
16+
17+
# install component and targets
1718
rustup component add rust-src
1819
rustup target add aarch64-apple-ios # iOS arm64
1920
rustup target add x86_64-apple-ios # iOS x86_64
2021
rustup target add aarch64-apple-ios-sim # simulator mac M1
2122
rustup target add aarch64-apple-darwin # mac M1
2223
rustup target add x86_64-apple-darwin # mac x86_64
2324

24-
cd ../bdk-ffi/ || exit
25-
2625
# build bdk-ffi rust lib for apple targets
2726
cargo build --package bdk-ffi --profile release-smaller --target x86_64-apple-darwin
2827
cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-darwin

0 commit comments

Comments
 (0)