-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3490e90
commit aff27cf
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[target.'cfg(all(target_os = "linux", target_arch = "x86_64"))'] | ||
rustflags = [ | ||
"-C", | ||
"link-arg=-fuse-ld=lld", | ||
# LLD by default uses xxhash for build ids now, which breaks tests that assume | ||
# GUIDS or longer | ||
"-C", | ||
"link-arg=-Wl,--build-id=sha1", | ||
] | ||
# If you have a global config to use LLD on your machine, you might need to enable | ||
# this config to produce binaries that pass tests | ||
# [target.'cfg(all(target_os = "linux", target_arch = "x86_64"))'] | ||
# rustflags = [ | ||
# "-C", | ||
# "link-arg=-fuse-ld=lld", | ||
# # LLD by default uses xxhash for build ids now, which breaks tests that assume | ||
# # GUIDS or longer | ||
# "-C", | ||
# "link-arg=-Wl,--build-id=sha1", | ||
# ] |