pub fn write_section_alias_table(entries: &[AliasEntry], buf: &mut Vec<u8>)Expand description
Write the M-3 AliasTable section (no header framing): a one-byte
section-local version, then a flat list of old→new DefinitionId pairs
(docs/modules-spec.md §5). Entries are written in the order given —
callers sort by old for the runtime’s binary-search lookup.