mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
74db5e2a5b
Using the bundled lld (rust-lld) for Windows.
15 lines
No EOL
513 B
Text
15 lines
No EOL
513 B
Text
# Rename this file to `config` to enable "fast build" configuration. Please read the notes below.
|
|
|
|
# NOTE: For maximum performance, build using a nightly compiler
|
|
# If you are using rust stable, remove the "-Zshare-generics=y" below.
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "/usr/bin/clang"
|
|
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
|
|
|
|
[target.x86_64-apple-darwin]
|
|
rustflags = ["-Zshare-generics=y"]
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
linker = "rust-lld.exe"
|
|
rustflags = ["-Zshare-generics=y"] |