Call module_name_to_str instead of just unwrapping
This commit is contained in:
parent
f48c99a004
commit
6419aeb1ec
@ -844,7 +844,7 @@ fn from_thin_lto_modules(
|
|||||||
llvm::LLVMRustComputeLTOCacheKey(rust_str, module.identifier, data.0);
|
llvm::LLVMRustComputeLTOCacheKey(rust_str, module.identifier, data.0);
|
||||||
})
|
})
|
||||||
.expect("Invalid ThinLTO module key");
|
.expect("Invalid ThinLTO module key");
|
||||||
(name.clone().into_string().unwrap(), key)
|
(module_name_to_str(name).to_string(), key)
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
Self { keys }
|
Self { keys }
|
||||||
|
Loading…
Reference in New Issue
Block a user