resolve clippy errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
a61bf3093e
commit
81d7d7aabd
10 changed files with 24 additions and 26 deletions
|
@ -326,6 +326,7 @@ pub unsafe fn create_module<'ll>(
|
|||
//
|
||||
// On the wasm targets it will get hooked up to the "producer" sections
|
||||
// `processed-by` information.
|
||||
#[allow(clippy::option_env_unwrap)]
|
||||
let rustc_producer =
|
||||
format!("rustc version {}", option_env!("CFG_VERSION").expect("CFG_VERSION"));
|
||||
let name_metadata = llvm::LLVMMDStringInContext(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue