From 488169909404c27d8018980999ddead75f68fb7c Mon Sep 17 00:00:00 2001 From: Jackson Goode Date: Sat, 6 Jul 2024 14:40:40 -0700 Subject: [PATCH] Simple --- Cross.toml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Cross.toml b/Cross.toml index ce11a4de..f98ce5af 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,5 +1,4 @@ -[target.x86_64-unknown-linux-gnu] -image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge" +[build] pre-build = [""" dpkg --add-architecture $CROSS_DEB_ARCH && \ apt-get update && apt-get --assume-yes install \ @@ -8,12 +7,8 @@ pre-build = [""" libasound2-dev:$CROSS_DEB_ARCH """] +[target.x86_64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge" + [target.aarch64-unknown-linux-gnu] image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge" -pre-build = [""" - dpkg --add-architecture $CROSS_DEB_ARCH && \ - apt-get update && apt-get --assume-yes install \ - libgtk-3-dev:$CROSS_DEB_ARCH \ - libssl-dev:$CROSS_DEB_ARCH \ - libasound2-dev:$CROSS_DEB_ARCH -"""]