]> git.r.bdr.sh - rbdr/blog/blobdiff - .cargo/config.toml
Add aarch64
[rbdr/blog] / .cargo / config.toml
index 525e9b4e799359db275fa98d5534c35ddc061039..1b7c486377d8a931535d2e2443216c3f4ec25aa3 100644 (file)
@@ -1,3 +1,13 @@
 [target.x86_64-unknown-linux-gnu]
 linker = "clang"
-rustflags = ["-C", "link-arg=-fuse-ld=lld"]
+rustflags = [
+       "-C", "link-arg=-fuse-ld=lld"
+       "-C", "link-arg=--target=x86_64-unknown-linux-gnu"
+]
+
+[target.aarch64-unknown-linux-gnu]
+linker = "clang"
+rustflags = [
+       "-C", "link-arg=-fuse-ld=lld",
+       "-C", "link-arg=--target=aarch64-unknown-linux-gnu"
+]