Fix cross-compiling with cross-rs (#9972)

I cross-compiled Nushell (from x64 to ARM64) for the first time in a
while and noticed that our [`cross-rs`](https://github.com/cross-rs)
setup was no longer working. I've fixed that by following [the latest
`cross-rs`
docs](https://github.com/cross-rs/cross/wiki/Recipes#openssl).
This commit is contained in:
Reilly Wood
2023-08-09 22:08:35 -07:00
committed by GitHub
parent 6f5bd62a97
commit f94df58486
3 changed files with 12 additions and 13 deletions

View File

@ -1,5 +0,0 @@
FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:latest
RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install --assume-yes libssl-dev:arm64 clang

View File

@ -1,5 +0,0 @@
FROM ghcr.io/cross-rs/aarch64-unknown-linux-musl:latest
RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install --assume-yes libssl-dev:arm64 clang