Skip to content

Commit f9df697

Browse files
chore: update targets for new server
1 parent 46d9b82 commit f9df697

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[target.aarch64-unknown-linux-musl]
22
linker = "aarch64-linux-musl-ld"
3+
4+
[target.x86_64-unknown-linux-gnu]
5+
linker = "x86_64-linux-gnu-gcc"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ ifneq (,$(wildcard ./.env))
33
export
44
endif
55

6-
BUILD_DIR="target/aarch64-unknown-linux-musl/release"
6+
BUILD_DIR="target/x86_64-unknown-linux-gnu/release"
77
BIN_NAME="jonathansm"
88

99
.PHONY: all pi mac test clean deploy
1010

1111
all: pi mac
1212

1313
pi:
14-
cargo build --release --target=aarch64-unknown-linux-musl
14+
cargo build --release --target=x86_64-unknown-linux-gnu
1515

1616
mac:
1717
cargo build --release

0 commit comments

Comments
 (0)