Skip to content

Commit 9bc6c32

Browse files
gaslight clippy too
1 parent 9130fc0 commit 9bc6c32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_codegen_llvm/src/context.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ pub(crate) unsafe fn create_module<'ll>(
225225
.expect("got a non-UTF8 data-layout from LLVM");
226226

227227
if target_data_layout != llvm_data_layout {
228-
// FIXME(workingjubilee): Currently skipping this logic for testing purposes
229-
} else if target_data_layout != llvm_data_layout {
230228
tcx.dcx().emit_err(crate::errors::MismatchedDataLayout {
231229
rustc_target: sess.opts.target_triple.to_string().as_str(),
232230
rustc_layout: target_data_layout.as_str(),

0 commit comments

Comments
 (0)