Replace const_cstr with cstr crate

This commit is contained in:
Xidorn Quan 2021-02-13 22:17:15 +11:00
parent 21cbbdc44d
commit 38e4233a32
11 changed files with 42 additions and 60 deletions

View file

@ -554,7 +554,7 @@ impl<'tcx> FnAbiLlvmExt<'tcx> for FnAbi<'tcx, Ty<'tcx>> {
llvm::AddCallSiteAttrString(
callsite,
llvm::AttributePlace::Function,
rustc_data_structures::const_cstr!("cmse_nonsecure_call"),
cstr::cstr!("cmse_nonsecure_call"),
);
}
}