Skip to content

Commit 47d2ad5

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
add specific linker for aarch64 linux
1 parent 7b7c6e2 commit 47d2ad5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cargo/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ rustflags = ["-Ccontrol-flow-guard", "-Ctarget-feature=+crt-static", "-Clink-arg
1818
# The following is only needed for release builds
1919
[source.crates-io]
2020
replace-with = "POWERSHELL"
21+
22+
[target.aarch64-unknown-linux-gnu]
23+
linker = "aarch64-linux-gnu-gcc"
24+
25+
[target.aarch64-unknown-linux-musl]
26+
linker = "aarch64-linux-musl-gcc"

0 commit comments

Comments
 (0)