diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-02-25 01:11:09 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-03-20 00:12:00 +0300 |
| commit | 81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea (patch) | |
| tree | 7b003fbadf54c0ce043735b0557cfc5937b24ef5 /compiler/rustc_codegen_llvm | |
| parent | a61bf3093eb57d6b63522d3ec1f4acceede0363b (diff) | |
| download | rust-81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea.tar.gz rust-81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea.zip | |
resolve clippy errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/context.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs index f89c8c9f836..f9f7e0d4e37 100644 --- a/compiler/rustc_codegen_llvm/src/context.rs +++ b/compiler/rustc_codegen_llvm/src/context.rs @@ -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( |
