pub fn build_dump(
nam: &str,
dump: &str,
_files: &[String],
_ali: i32,
_map: i32,
_flags: u32,
) -> i32Expand description
Port of build_dump(char *nam, char *dump, char **files, int ali, int map, int flags)
from Src/parse.c:3397. Source-file → wordcode dump compiler.
Status: scaffolded but the wordcode-emit step depends on
parse_string returning a fully-wired Eprog with prog/strs/ npats fields populated. The current parse_string/parse shape
emits an AST (ZshProgram) but not yet the wordcode array C
expects in this dump format. Until that lands, this returns 1
with a clear “wordcode emit not yet ported” message so callers
(autoload from .zwc, zcompile path/to/file) fail loud.