From 34170cfa62df5443a0d8675106c553efec035687 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Tue, 7 Oct 2025 08:30:35 +0200 Subject: add Cross.toml for cross compilation --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 18aa0f1..66627b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,3 +40,10 @@ figment = { version = "0.10.19", features = [ "toml", "test" ]} owo-colors = "4.2.2" logos = "0.15.1" phf = { version = "0.13.1", features = ["macros"] } + +[workspace.metadata.cross.target.aarch64-unknown-linux-gnu] +# Install libssl-dev:arm64, see +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH" +] -- cgit v1.2.3