Function wit_parser::align_to_arch

source ยท
pub fn align_to_arch(
    val: ArchitectureSize,
    align: Alignment,
) -> ArchitectureSize
Expand description

Increase val to a multiple of align, with special handling for pointers; align must be a power of two or Alignment::Pointer