rename rustc_allocator_nounwind to rustc_nounwind
This commit is contained in:
parent
db0597f561
commit
2b50cd1877
6 changed files with 14 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue