Skip to main content

write_section_visibility

Function write_section_visibility 

Source
pub fn write_section_visibility(
    private_defs: &[DefinitionId],
    buf: &mut Vec<u8>,
)
Expand description

Write the visibility section (no header framing): a count followed by the DefinitionId of every #@private definition (M-2b). Callers only emit this section when private_defs is non-empty.