We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0cfa5 commit 07168f9Copy full SHA for 07168f9
src/librustc_codegen_llvm/context.rs
@@ -174,7 +174,6 @@ pub unsafe fn create_module(
174
175
let llvm_data_layout = llvm::LLVMGetDataLayout(llmod);
176
let llvm_data_layout = str::from_utf8(CStr::from_ptr(llvm_data_layout).to_bytes())
177
- .ok()
178
.expect("got a non-UTF8 data-layout from LLVM");
179
180
// Unfortunately LLVM target specs change over time, and right now we
0 commit comments