Skip to content

Commit 13c9fae

Browse files
committed
ci: add aarch64 linker config
1 parent b097333 commit 13c9fae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.cargo/config.toml

+7
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ rustflags = [
1111
"-C",
1212
"link-arg=/STACK:8000000",
1313
]
14+
15+
# Required for `dist` to work with linux arm targets: https://github.com/axodotdev/cargo-dist/issues/74#issuecomment-2053680080
16+
[env]
17+
CC_aarch64_unknown_linux_musl = "aarch64-linux-gnu-gcc"
18+
19+
[target.aarch64-unknown-linux-musl]
20+
linker = "aarch64-linux-gnu-gcc"

0 commit comments

Comments
 (0)