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 f48c99a commit 6419aebCopy full SHA for 6419aeb
compiler/rustc_codegen_llvm/src/back/lto.rs
@@ -844,7 +844,7 @@ impl ThinLTOKeysMap {
844
llvm::LLVMRustComputeLTOCacheKey(rust_str, module.identifier, data.0);
845
})
846
.expect("Invalid ThinLTO module key");
847
- (name.clone().into_string().unwrap(), key)
+ (module_name_to_str(name).to_string(), key)
848
849
.collect();
850
Self { keys }
0 commit comments