File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compiler/rustc_codegen_llvm/src/back Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -901,11 +901,11 @@ unsafe fn embed_bitcode(
901901 llvm:: LLVMSetInitializer ( llglobal, llconst) ;
902902
903903 let section = if is_apple {
904- "__LLVM,__bitcode"
904+ c "__LLVM,__bitcode"
905905 } else if is_aix {
906- ".ipa"
906+ c ".ipa"
907907 } else {
908- ".llvmbc"
908+ c ".llvmbc"
909909 } ;
910910 llvm:: LLVMSetSection ( llglobal, section. as_ptr ( ) . cast ( ) ) ;
911911 llvm:: LLVMRustSetLinkage ( llglobal, llvm:: Linkage :: PrivateLinkage ) ;
@@ -919,11 +919,11 @@ unsafe fn embed_bitcode(
919919 ) ;
920920 llvm:: LLVMSetInitializer ( llglobal, llconst) ;
921921 let section = if is_apple {
922- "__LLVM,__cmdline"
922+ c "__LLVM,__cmdline"
923923 } else if is_aix {
924- ".info"
924+ c ".info"
925925 } else {
926- ".llvmcmd"
926+ c ".llvmcmd"
927927 } ;
928928 llvm:: LLVMSetSection ( llglobal, section. as_ptr ( ) . cast ( ) ) ;
929929 llvm:: LLVMRustSetLinkage ( llglobal, llvm:: Linkage :: PrivateLinkage ) ;
You can’t perform that action at this time.
0 commit comments