Commit 9542535 1 parent 798e5da commit 9542535 Copy full SHA for 9542535
File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,16 @@ jobs:
34
34
workspaces : |
35
35
.
36
36
bindings_ffi
37
- - uses : taiki-e/install-action@v2
38
- with :
39
- tool : cargo-ndk
37
+ # Install latest cross to mitigate unwind linking issue on android builds.
38
+ # See https://github.com/cross-rs/cross/issues/1222
39
+ - name : Install cross
40
+ run : |
41
+ cargo install cross --git https://github.com/cross-rs/cross
40
42
- name : Build target
43
+ env :
44
+ CROSS_NO_WARNINGS : " 0"
41
45
run : |
42
- cargo ndk -o bindings_ffi/jniLibs/ --manifest-path bindings_ffi/Cargo.toml -t ${{ matrix.target }} -- build --release
46
+ cross build --release --target ${{ matrix.target }} --manifest-path bindings_ffi/Cargo.toml
43
47
- name : Prepare JNI libs
44
48
run : |
45
49
mkdir -p bindings_ffi/jniLibs/${{ matrix.output_target }}/ && \
You can’t perform that action at this time.
0 commit comments