compiler: replace cstr macro with c str literals in compiler and few other c str replacements
This commit is contained in:
parent
71940e0a8a
commit
26e69a8816
14 changed files with 42 additions and 71 deletions
|
@ -146,7 +146,7 @@ fn create_wrapper_function(
|
|||
}
|
||||
llvm::LLVMRustSetVisibility(callee, llvm::Visibility::Hidden);
|
||||
|
||||
let llbb = llvm::LLVMAppendBasicBlockInContext(llcx, llfn, "entry\0".as_ptr().cast());
|
||||
let llbb = llvm::LLVMAppendBasicBlockInContext(llcx, llfn, c"entry".as_ptr().cast());
|
||||
|
||||
let llbuilder = llvm::LLVMCreateBuilderInContext(llcx);
|
||||
llvm::LLVMPositionBuilderAtEnd(llbuilder, llbb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue