Skip to content

Commit 3f73fec

Browse files
committed
Linux arm64 and x64 were swapped
1 parent b2967c0 commit 3f73fec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

scripts/build-linux-aarch64.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
set -e
44

5+
mkdir -p release
6+
57
podman run -it --workdir /app \
6-
--platform linux/amd64 \
7-
--env ARCH=x86_64 \
8+
--platform linux/arm64 \
9+
--env ARCH=aarch64 \
810
-v $(pwd)/scripts:/app/scripts:Z \
911
-v $(pwd)/Cargo.lock:/app/Cargo.lock:Z \
1012
-v $(pwd)/Cargo.toml:/app/Cargo.toml:Z \

scripts/build-linux-x86_64.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
set -e
44

5+
mkdir -p release
6+
57
podman run -it --workdir /app \
6-
--platform linux/arm64 \
7-
--env ARCH=aarch64 \
8+
--platform linux/amd64 \
9+
--env ARCH=x86_64 \
810
-v $(pwd)/scripts:/app/scripts:Z \
911
-v $(pwd)/Cargo.lock:/app/Cargo.lock:Z \
1012
-v $(pwd)/Cargo.toml:/app/Cargo.toml:Z \

0 commit comments

Comments
 (0)