]> git.r.bdr.sh - rbdr/blog/blobdiff - .cargo/config.toml
Missing comma
[rbdr/blog] / .cargo / config.toml
index 525e9b4e799359db275fa98d5534c35ddc061039..8a25f4fdf4063da1312cb3d9f628a85b1a53a6e1 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"
+]