Expand description
Memory allocation implementation for rustc_public.
This module is responsible for constructing stable components.
All operations requiring rustc queries must be delegated
to rustc_public_bridge::alloc to maintain stability guarantees.
Re-exportsยง
use rustc_abi::Align;๐use rustc_middle::mir::ConstValue;๐use rustc_middle::mir::interpret::AllocRange;๐use rustc_public_bridge::bridge::Error as _;๐use rustc_public_bridge::context::CompilerCtxt;๐use rustc_public_bridge::Tables;๐use rustc_public_bridge::alloc;๐use super::Error;๐use super::compiler_interface::BridgeTys;๐use super::mir::Mutability;๐use super::ty::Allocation;๐use super::ty::ProvenanceMap;๐
Functionsยง
- allocation_
filter ๐ - Creates an
Allocationonly from information within theAllocRange. - new_
allocation ๐ - new_
empty_ ๐allocation - Creates new empty
Allocationfrom givenAlign. - try_
new_ ๐allocation