Fix Android CI build (#1169)

Use "cross" to cross-compile reqwest for Android. The job currently
errors out because the default linker doesn't know what to do with
object files generated for Android.
This commit is contained in:
glyphpoch
2021-02-09 14:22:14 +00:00
committed by GitHub
parent 287a6d1852
commit ad21b62fd2

View File

@@ -233,6 +233,7 @@ jobs:
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
# disable default-tls feature since cross-compiling openssl is dragons
args: --target aarch64-linux-android --no-default-features