mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rollup merge of #107413 - tshepang:pleasant-readin, r=Nilstrieb
make more pleasant to read
This commit is contained in:
commit
74655dc507
@ -191,7 +191,7 @@ pub unsafe fn create_module<'ll>(
|
||||
//
|
||||
// FIXME(#34960)
|
||||
let cfg_llvm_root = option_env!("CFG_LLVM_ROOT").unwrap_or("");
|
||||
let custom_llvm_used = cfg_llvm_root.trim() != "";
|
||||
let custom_llvm_used = !cfg_llvm_root.trim().is_empty();
|
||||
|
||||
if !custom_llvm_used && target_data_layout != llvm_data_layout {
|
||||
bug!(
|
||||
|
Loading…
Reference in New Issue
Block a user