Expand description
Writer for Rust-native kernel dump files Writer for Rust-native kernel dump files.
Serializes the State diff (from snapshot/diff_from_snapshot) into a compact text format that can be loaded back efficiently.
This is the “DumpFile” equivalent from Perl’s TeX_Job.pool.ltxml. The workflow follows Perl’s Makefile.PL “make formats” scaffold:
- take_snapshot() — before processing latex.ltx
- Process latex.ltx through the engine
- diff_snapshot() — find what changed
- write_dump() — serialize the diff
- At runtime: load_dump() restores the state
Functions§
- write_
dump - Write a state diff to a dump file. Returns the number of entries successfully written.