Fix test.
This commit is contained in:
parent
587b9abd4e
commit
802c0be3a2
1 changed files with 1 additions and 2 deletions
|
|
@ -26,7 +26,6 @@ use rustc_span::symbol::Symbol;
|
|||
use rustc_target::spec::Target;
|
||||
use std::any::Any;
|
||||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub struct NoLlvmMetadataLoader;
|
||||
|
||||
|
|
@ -57,7 +56,7 @@ impl CodegenBackend for TheBackend {
|
|||
tcx.arena.alloc(Default::default()) // Just a dummy
|
||||
};
|
||||
providers.is_reachable_non_generic = |_tcx, _defid| true;
|
||||
providers.exported_symbols = |_tcx, _crate| Arc::new(Vec::new());
|
||||
providers.exported_symbols = |_tcx, _crate| &[];
|
||||
}
|
||||
|
||||
fn provide_extern(&self, providers: &mut Providers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue