about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-29 02:53:52 +0000
committerbors <bors@rust-lang.org>2021-04-29 02:53:52 +0000
commitada102456de38e462b4f00473dd923f15dc3f296 (patch)
treeb76c12782e67a7439736a25131c2f132f6a45f9f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent50ca3ac24f08cc6c8bbef9ac27245f83f30bc749 (diff)
parent170a10b2dd085afc92a52a58bde8a6e7a5eb3b85 (diff)
downloadrust-ada102456de38e462b4f00473dd923f15dc3f296.tar.gz
rust-ada102456de38e462b4f00473dd923f15dc3f296.zip
Auto merge of #84614 - RalfJung:daily, r=Mark-Simulacrum
don't enable parking_lot nightly features

Having the compiler itself depend on external libraries that use nightly features can lead to "fun" bootstrap situations. Within the rustc repo we use `cfg(bootstrap)` to resolve those, but that is not a reasonable option for external dependencies.

So I propose we stop enabling the "nightly" feature of `parking_lot` here. In my experiments, this then indeed leads to the feature not being enabled (i.e., nothing else enables it), and everything still builds. However, this means parking_lot's `RwLock` will no longer have hardware lock elision for readers -- I hope that is okay to lose in exchange for less bootstrap brain twisting. ;)

Cc `@Amanieu`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions