File tree Expand file tree Collapse file tree 8 files changed +8
-18
lines changed Expand file tree Collapse file tree 8 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 16
16
defaults :
17
17
run :
18
18
working-directory : bdk-ffi
19
- strategy :
20
- matrix :
21
- rust :
22
- - version : 1.84.1
23
- clippy : true
19
+
24
20
steps :
25
21
- name : " Checkout"
26
22
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 35
35
with :
36
36
ndk-version : r26c
37
37
38
- - name : " Install Rust"
39
- uses : dtolnay/rust-toolchain@stable
40
- with :
41
- toolchain : 1.84.1
42
-
43
38
- name : " Cache Rust"
44
39
uses : actions/cache@v4
45
40
with :
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ just publishlocal
45
45
46
46
## Minimum Supported Rust Version (MSRV)
47
47
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.
49
49
50
50
## Contributing
51
51
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
18
18
19
19
# Move to the Rust library directory
20
20
cd ../bdk-ffi/ || exit
21
- rustup default 1.84.1
22
21
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
23
22
24
23
# Build the binaries
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
18
18
19
19
# Move to the Rust library directory
20
20
cd ../bdk-ffi/ || exit
21
- rustup default 1.84.1
22
21
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
23
22
24
23
# Build the binaries
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
19
19
20
20
# Move to the Rust library directory
21
21
cd ../bdk-ffi/ || exit
22
- rustup default 1.84.1
23
22
rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
24
23
25
24
# Build the binaries
Original file line number Diff line number Diff line change
1
+ [toolchain ]
2
+ channel = " 1.85.1"
3
+ components = [" clippy" , " rustfmt" ]
Original file line number Diff line number Diff line change @@ -12,17 +12,16 @@ NAME="bdkffi"
12
12
STATIC_LIB_NAME=" lib${NAME} .a"
13
13
NEW_HEADER_DIR=" ../bdk-ffi/target/include"
14
14
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
17
18
rustup component add rust-src
18
19
rustup target add aarch64-apple-ios # iOS arm64
19
20
rustup target add x86_64-apple-ios # iOS x86_64
20
21
rustup target add aarch64-apple-ios-sim # simulator mac M1
21
22
rustup target add aarch64-apple-darwin # mac M1
22
23
rustup target add x86_64-apple-darwin # mac x86_64
23
24
24
- cd ../bdk-ffi/ || exit
25
-
26
25
# build bdk-ffi rust lib for apple targets
27
26
cargo build --package bdk-ffi --profile release-smaller --target x86_64-apple-darwin
28
27
cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-darwin
You can’t perform that action at this time.
0 commit comments