Skip to content

Commit 5f5ea79

Browse files
committed
Avoid removing from cstore_impl for now
1 parent ece778e commit 5f5ea79

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
@@ -170,12 +170,17 @@ provide! { <'tcx> tcx, def_id, other, cdata,
170170
is_mir_available => { cdata.is_item_mir_available(def_id.index) }
171171

172172
dylib_dependency_formats => { Lrc::new(cdata.get_dylib_dependency_formats()) }
173+
is_panic_runtime => { cdata.panic_runtime }
174+
is_compiler_builtins => { cdata.compiler_builtins }
173175
has_global_allocator => { cdata.has_global_allocator() }
176+
is_sanitizer_runtime => { cdata.sanitizer_runtime }
177+
is_profiler_runtime => { cdata.profiler_runtime }
174178
panic_strategy => { cdata.panic_strategy() }
175179
extern_crate => {
176180
let r = Lrc::new(*cdata.extern_crate.lock());
177181
r
178182
}
183+
is_no_builtins => { cdata.no_builtins }
179184
impl_defaultness => { cdata.get_impl_defaultness(def_id.index) }
180185
reachable_non_generics => {
181186
let reachable_non_generics = tcx

0 commit comments

Comments
 (0)