From 3ca0a2b0ac36ddfb7ed36a66806c0e5686d58548 Mon Sep 17 00:00:00 2001 From: Logan Magee Date: Thu, 24 Sep 2020 17:52:32 -0800 Subject: [PATCH] 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. --- .cargo/config_fast_builds | 2 +- CHANGELOG.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds index 9ef67781bd..8d0a98d9e0 100644 --- a/.cargo/config_fast_builds +++ b/.cargo/config_fast_builds @@ -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" diff --git a/CHANGELOG.md b/CHANGELOG.md index b8dfed255e..6d56cb46f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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