From 0b162de00ffcff4e93fdaef5c48a1279e65d2823 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 16 Apr 2024 01:21:19 +0200 Subject: [PATCH] explicitly declare target for linux build --- doc/scripts/pack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/scripts/pack.sh b/doc/scripts/pack.sh index bd6b6e1..9f59a78 100755 --- a/doc/scripts/pack.sh +++ b/doc/scripts/pack.sh @@ -5,8 +5,8 @@ set -e if [ "$1" == "-b" ]; then - cargo build --release - cargo build --target=x86_64-pc-windows-gnu --release + cargo build --release --target=x86_64-unknown-linux-gnu + cargo build --release --target=x86_64-pc-windows-gnu fi VERSION="$(sed -nr 's/^\s*version\s*=\s*"(.*)"\s*$/\1/p' Cargo.toml)"