Skip to content

Commit

Permalink
chore: add fast_compile_config
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Jun 5, 2022
1 parent 06c4ebd commit 2527f07
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

17 changes: 17 additions & 0 deletions .cargo/fast_compiles_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copy the content of this file to `.cargo/config.toml`

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-Clink-arg=-fuse-ld=lld"]

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

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld"]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"

[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"

0 comments on commit 2527f07

Please sign in to comment.