Skip to content

Commit

Permalink
Add aarch64-apple-darwin to the config_fast_builds for Apple Silicon (b…
Browse files Browse the repository at this point in the history
…evyengine#2739)

# Objective

M1 Macs / Apple Silicon / simply aarch64 needs to be specified for it to compile with zld, so users might be surprised to find that they aren't getting the benefits and see the fast compiles they might be seeing on other platforms.

## Solution

- Add it? :)
  • Loading branch information
joshuataylor committed Aug 30, 2021
1 parent 4465583 commit d4a552a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config_fast_builds
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=n"]
Expand Down

0 comments on commit d4a552a

Please sign in to comment.