]> git.r.bdr.sh - rbdr/blog/commitdiff
Add aarch64
authorRuben Beltran del Rio <redacted>
Mon, 11 Mar 2024 22:25:45 +0000 (23:25 +0100)
committerRuben Beltran del Rio <redacted>
Mon, 11 Mar 2024 22:25:45 +0000 (23:25 +0100)
.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"
+]