Skip to content

Commit ad45fea

Browse files
committed
fix: remove hardcoded /workspace/bin/cc from cargo config — use system defaults
The hardcoded paths broke CI (GitHub Actions) and local builds outside the original container environment. CC/AR should be set via env vars when needed.
1 parent e62b335 commit ad45fea

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.cargo/config.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[target.aarch64-unknown-linux-gnu]
2-
linker = "/workspace/bin/cc"
3-
ar = "/workspace/bin/ar"
4-
5-
[env]
6-
CC = "/workspace/bin/cc"
7-
AR = "/workspace/bin/ar"
1+
# Cross-compilation config
2+
# CC/AR are not hardcoded — use system defaults or set via environment variables:
3+
# CC=/path/to/cc AR=/path/to/ar cargo build --target aarch64-unknown-linux-gnu

0 commit comments

Comments
 (0)