Suggest -Zrun-dsymutil-no for macOS fast compiles (#552)

This keeps original object files around after compilation in the event that
debug information is needed.
This commit is contained in:
Logan Magee 2020-09-24 17:52:32 -08:00 committed by GitHub
parent 3dbc6550a0
commit 3ca0a2b0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -10,7 +10,7 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
# `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y", "-Zrun-dsymutil=no"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"

View file

@ -2,6 +2,12 @@
## Unreleased
### Added
- [Another fast compile flag for macOS][552]
[552]: https://github.com/bevyengine/bevy/pull/552
## Version 0.2.1 (2020-9-20)
### Fixed