Replace #[plugin_registrar] with exporting __rustc_plugin_registrar
This commit is contained in:
parent
2d10c2a330
commit
a501308ec1
35 changed files with 287 additions and 556 deletions
|
@ -137,10 +137,6 @@ fn reachable_non_generics_provider(tcx: TyCtxt<'_>, cnum: CrateNum) -> DefIdMap<
|
|||
reachable_non_generics.insert(id.to_def_id(), SymbolExportLevel::C);
|
||||
}
|
||||
|
||||
if let Some(id) = tcx.plugin_registrar_fn(()) {
|
||||
reachable_non_generics.insert(id.to_def_id(), SymbolExportLevel::C);
|
||||
}
|
||||
|
||||
reachable_non_generics
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue