Convert -Z mutable-noalias to Optional<bool>
The default value will dependend on the LLVM version in the future, so don't specify one to start with.
This commit is contained in:
parent
dfc4cafe8e
commit
08c5ffd4a3
3 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ fn should_use_mutable_noalias(cx: &CodegenCx<'_, '_>) -> bool {
|
|||
//
|
||||
// For now, do not enable mutable_noalias by default at all, while the
|
||||
// issue is being figured out.
|
||||
cx.tcx.sess.opts.debugging_opts.mutable_noalias
|
||||
cx.tcx.sess.opts.debugging_opts.mutable_noalias.unwrap_or(false)
|
||||
}
|
||||
|
||||
impl ArgAttributesExt for ArgAttributes {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue