Revert "Remove #[alloc_error_handler] from the compiler and library"
This reverts commit abc0660118
.
This commit is contained in:
parent
33253fa6a4
commit
f54dbe6e31
49 changed files with 842 additions and 22 deletions
|
@ -27,6 +27,7 @@ use rustc_expand::proc_macro::BangProcMacro;
|
|||
use rustc_fluent_macro::fluent_messages;
|
||||
use rustc_span::symbol::sym;
|
||||
|
||||
mod alloc_error_handler;
|
||||
mod assert;
|
||||
mod cfg;
|
||||
mod cfg_accessible;
|
||||
|
@ -103,6 +104,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
|
|||
}
|
||||
|
||||
register_attr! {
|
||||
alloc_error_handler: alloc_error_handler::expand,
|
||||
bench: test::expand_bench,
|
||||
cfg_accessible: cfg_accessible::Expander,
|
||||
cfg_eval: cfg_eval::expand,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue