Use Symbol for the crate name instead of String/str
This commit is contained in:
@@ -102,7 +102,7 @@ pub fn link_binary<'a>(
|
||||
sess,
|
||||
crate_type,
|
||||
outputs,
|
||||
codegen_results.crate_info.local_crate_name.as_str(),
|
||||
codegen_results.crate_info.local_crate_name,
|
||||
);
|
||||
match crate_type {
|
||||
CrateType::Rlib => {
|
||||
|
||||
Reference in New Issue
Block a user