New linker and apt packages for aarch64-unknown-linux

This commit is contained in:
Xithrius 2022-04-05 16:37:50 -07:00
parent 41774f2534
commit 273a3b0b47
No known key found for this signature in database
GPG Key ID: 04B94D37B0B8C08F
2 changed files with 5 additions and 2 deletions

View File

@ -67,7 +67,7 @@ jobs:
- name: Install target toolchain
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get install gcc-aarch64-linux-gnu build-essential libssl-dev linux-libc-dev pkgconf
run: sudo apt-get install gcc-aarch64-linux-gnu build-essential
- name: Build
run: cargo build --verbose --target ${{ matrix.target }}

View File

@ -36,10 +36,13 @@ regex = "1.5.5"
[target.'cfg(windows)'.dependencies]
rusqlite = { version = "0.27.0", features = [ "winsqlite3"] }
[target.'cfg(unix)'.dependencies]
[target.aarch64-unknown-linux-gnu.dependencies]
openssl = { version = "0.10.38", features = [ "vendored" ] }
curl = { version = "0.4.43", features = [ "static-curl", "static-ssl" ] }
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[[bin]]
bench = false
path = "src/main.rs"