1
Fork 0

rename rustc_allocator_nounwind to rustc_nounwind

This commit is contained in:
Ralf Jung 2022-10-06 12:33:29 +02:00
parent db0597f561
commit 2b50cd1877
6 changed files with 14 additions and 10 deletions

View file

@ -1649,7 +1649,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: DefId) -> CodegenFnAttrs {
)
.emit();
}
} else if attr.has_name(sym::rustc_allocator_nounwind) {
} else if attr.has_name(sym::rustc_nounwind) {
codegen_fn_attrs.flags |= CodegenFnAttrFlags::NEVER_UNWIND;
} else if attr.has_name(sym::rustc_reallocator) {
codegen_fn_attrs.flags |= CodegenFnAttrFlags::REALLOCATOR;