Skip to content

Commit a460a9a

Browse files
committed
feat: add aarch64-apple,windows host triplets
1 parent af6a40f commit a460a9a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/config.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,18 @@ mod tests {
642642
cargo_dir.join("config.toml"),
643643
r#"
644644
[target.x86_64-unknown-linux-gnu]
645-
linker = "clang"
645+
rustflags = [
646+
"-Clink-arg=-fuse-ld=mold",
647+
"-Zshare-generics=y",
648+
"-Zthreads=8",
649+
]
650+
[target.aarch64-apple-darwin]
651+
rustflags = [
652+
"-Clink-arg=-fuse-ld=mold",
653+
"-Zshare-generics=y",
654+
"-Zthreads=8",
655+
]
656+
[target.x86_64-pc-windows-msvc]
646657
rustflags = [
647658
"-Clink-arg=-fuse-ld=mold",
648659
"-Zshare-generics=y",

0 commit comments

Comments
 (0)