]> git.r.bdr.sh - rbdr/blog/blame - .cargo/config.toml
Add cross-compilation
[rbdr/blog] / .cargo / config.toml
CommitLineData
a04ba49c
RBR
1[target.x86_64-unknown-linux-gnu]
2linker = "clang"
f7f43351 3rustflags = [
c8e8dc12 4 "-C", "link-arg=-fuse-ld=lld",
f7f43351
RBR
5 "-C", "link-arg=--target=x86_64-unknown-linux-gnu"
6]
7
8[target.aarch64-unknown-linux-gnu]
9linker = "clang"
10rustflags = [
11 "-C", "link-arg=-fuse-ld=lld",
12 "-C", "link-arg=--target=aarch64-unknown-linux-gnu"
13]