Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Apr 5, 2020
1 parent 587b9ab commit 802c0be
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 802c0be

Please sign in to comment.