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:
		
							
								
								
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user