about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/abi.rs
diff options
context:
space:
mode:
authorXidorn Quan <me@upsuper.org>2021-02-13 22:17:15 +1100
committerXidorn Quan <me@upsuper.org>2021-02-14 09:45:35 +1100
commit38e4233a3291b0b8e3148e7ea47da66c9d8b307f (patch)
treefa636e19baada1caea2620c78fdc70a638b08d96 /compiler/rustc_codegen_llvm/src/abi.rs
parent21cbbdc44de84e3ea99bca239091e5d1c49af654 (diff)
downloadrust-38e4233a3291b0b8e3148e7ea47da66c9d8b307f.tar.gz
rust-38e4233a3291b0b8e3148e7ea47da66c9d8b307f.zip
Replace const_cstr with cstr crate
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/abi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs
index a69241e456f..d714ff1fe9b 100644
--- a/compiler/rustc_codegen_llvm/src/abi.rs
+++ b/compiler/rustc_codegen_llvm/src/abi.rs
@@ -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"),
                 );
             }
         }