Skip to content

Commit

Permalink
Keep config but commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored and Alexandre Lissy committed Nov 3, 2023
1 parent 3490e90 commit aff27cf
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .cargo/config.toml
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",
# ]

0 comments on commit aff27cf

Please sign in to comment.