[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"
+]