MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / custom_alloc_error_hook

Function custom_alloc_error_hook

src/lib.rs:1677–1679  ·  view source on GitHub ↗

# Panics Panics when called, every time, with a message stating the memory allocation of the bytes corresponding to the provided layout failed.

(layout: Layout)

Source from the content-addressed store, hash-verified

1675 let emitted_class_registry = lower2::EmittedClassRegistry::default();
1676 let debug_info = lower2::debug_info_options(tcx);
1677 let mono_items = tcx.collect_and_partition_mono_items(());
1678 let partitioned_functions: HashSet<_> = mono_items
1679 .codegen_units
1680 .iter()
1681 .flat_map(|cgu| cgu.items_in_deterministic_order(tcx))
1682 .filter_map(|(item, _)| match item {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected