We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 587b9ab commit 802c0beCopy full SHA for 802c0be
src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs
@@ -26,7 +26,6 @@ use rustc_span::symbol::Symbol;
26
use rustc_target::spec::Target;
27
use std::any::Any;
28
use std::path::Path;
29
-use std::sync::Arc;
30
31
pub struct NoLlvmMetadataLoader;
32
@@ -57,7 +56,7 @@ impl CodegenBackend for TheBackend {
57
56
tcx.arena.alloc(Default::default()) // Just a dummy
58
};
59
providers.is_reachable_non_generic = |_tcx, _defid| true;
60
- providers.exported_symbols = |_tcx, _crate| Arc::new(Vec::new());
+ providers.exported_symbols = |_tcx, _crate| &[];
61
}
62
63
fn provide_extern(&self, providers: &mut Providers) {
0 commit comments