Skip to content

Commit cb90899

Browse files
committed
CI: Remove libgcc.a linker workaround from repackaged NDK
[Rust 1.68 is now targeting NDK r25] and no longer tries to forcibly link against `libgcc.a`, which was removed since NDK r23. Since this Rust release is over 1.5 years old, assume everyone is using at least 1.68 and drop the workaround from our repackaged NDK release. [Rust 1.68 is now targeting NDK r25]: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#other-changes
1 parent b71d6fa commit cb90899

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/sdk.yml

-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ jobs:
2323
- run: cp -r $CLANG/lib/linux/x86_64/* Android.ndk/usr/lib/x86_64-linux-android/
2424
- run: cp -r $CLANG/lib/linux/i386/* Android.ndk/usr/lib/i686-linux-android/
2525

26-
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/aarch64-linux-android/libgcc.a
27-
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/arm-linux-androideabi/libgcc.a
28-
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/x86_64-linux-android/libgcc.a
29-
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/i686-linux-android/libgcc.a
30-
3126
- run: tar --zstd -cf Android.ndk.tar.zst Android.ndk
3227
- run: gh release upload $TAG Android.ndk.tar.zst -R ${{ github.repository }}
3328
env:

0 commit comments

Comments
 (0)