Skip to content

Commit f534694

Browse files
committed
Avoid removing from cstore_impl for now
1 parent e45b9c8 commit f534694

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustc_metadata/cstore_impl.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,17 @@ provide! { <'tcx> tcx, def_id, other, cdata,
169169
is_mir_available => { cdata.is_item_mir_available(def_id.index) }
170170

171171
dylib_dependency_formats => { Lrc::new(cdata.get_dylib_dependency_formats()) }
172+
is_panic_runtime => { cdata.panic_runtime }
173+
is_compiler_builtins => { cdata.compiler_builtins }
172174
has_global_allocator => { cdata.has_global_allocator() }
175+
is_sanitizer_runtime => { cdata.sanitizer_runtime }
176+
is_profiler_runtime => { cdata.profiler_runtime }
173177
panic_strategy => { cdata.panic_strategy() }
174178
extern_crate => {
175179
let r = Lrc::new(*cdata.extern_crate.lock());
176180
r
177181
}
182+
is_no_builtins => { cdata.no_builtins }
178183
impl_defaultness => { cdata.get_impl_defaultness(def_id.index) }
179184
reachable_non_generics => {
180185
let reachable_non_generics = tcx

0 commit comments

Comments
 (0)