Skip to content

Commit

Permalink
Suggest -Zrun-dsymutil-no for macOS fast compiles (bevyengine#552)
Browse files Browse the repository at this point in the history
This keeps original object files around after compilation in the event that
debug information is needed.
  • Loading branch information
lberrymage authored and mrk-its committed Oct 6, 2020
1 parent f266c50 commit 8531d52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config_fast_builds
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8531d52

Please sign in to comment.