Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkin
use c literals in compiler and library Relands refreshed https://github.com/rust-lang/rust/pull/111647
This commit is contained in:
@@ -631,7 +631,7 @@ pub(crate) fn run_pass_manager(
|
||||
llvm::LLVMRustAddModuleFlag(
|
||||
module.module_llvm.llmod(),
|
||||
llvm::LLVMModFlagBehavior::Error,
|
||||
"LTOPostLink\0".as_ptr().cast(),
|
||||
c"LTOPostLink".as_ptr().cast(),
|
||||
1,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user