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 committed Sep 25, 2020
1 parent 3dbc655 commit 3ca0a2b
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
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
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 3ca0a2b

Please sign in to comment.