Skip to content

Commit 83777e0

Browse files
authored
Update config_fast_builds for latest nightly (#1362)
`-Zrun-dsymutil` has been recently replaced with `-Csplit-debuginfo` (still nightly-only) See: rust-lang/rust#79570
1 parent bff44f7 commit 83777e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cargo/config_fast_builds

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Rename this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
22

33
# NOTE: For maximum performance, build using a nightly compiler
4-
# If you are using rust stable, remove the "-Zshare-generics=y" below.
4+
# If you are using rust stable, remove the "-Zshare-generics=y" below (as well as "-Csplit-debuginfo=unpacked" when building on macOS).
55

66
[target.x86_64-unknown-linux-gnu]
77
linker = "/usr/bin/clang"
@@ -10,7 +10,7 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
1010
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
1111
# `brew install michaeleisel/zld/zld`
1212
[target.x86_64-apple-darwin]
13-
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y", "-Zrun-dsymutil=no"]
13+
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y", "-Csplit-debuginfo=unpacked"]
1414

1515
[target.x86_64-pc-windows-msvc]
1616
linker = "rust-lld.exe"

0 commit comments

Comments
 (0)