mirror of
https://github.com/servo/servo.git
synced 2025-06-10 01:23:13 +00:00
Update script_plugin for rust-lang/rust#85296
This commit is contained in:
parent
cc1f89863c
commit
92a23f7583
1 changed files with 2 additions and 3 deletions
|
@ -34,9 +34,8 @@ use rustc_span::source_map::{ExpnKind, MacroKind, Span};
|
|||
use rustc_span::symbol::sym;
|
||||
use rustc_span::symbol::Symbol;
|
||||
|
||||
#[allow(deprecated)]
|
||||
#[plugin_registrar]
|
||||
pub fn plugin_registrar(reg: &mut Registry) {
|
||||
#[no_mangle]
|
||||
fn __rustc_plugin_registrar(reg: &mut Registry) {
|
||||
registrar(reg)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue