Files
binary/CHANGELOG.md
T
2026-10-26 10:02:47 -05:00

2.8 KiB

Changelog

Each version's changes, newest first. Versions follow semantic versioning.

Unreleased

  • The standard library is required as the package sakura/std, and each library names the modules it reads: std::io, where byte_writer is now, and, for dwarf, pe, and pdb, std::containers, where interner is.

1.0.0 - Unreleased

  • The five libraries Sakura writes executables with, until now each a repository of its own, gathered into one, each still a library of its own: binary::amd64, binary::elf, binary::dwarf, binary::pe, and binary::pdb, which were malunal::amd64 and the rest. Their folders are named for them alone, as amd64/, and their tests are in tests/amd64/ and the rest, sharing one main. A project requires the repository once and names among its deps only the libraries it reads.
  • What each held at 1.0.0 in its own repository, of 2026-10-24:
    • amd64: the encoder of the Sakura compiler, moved out of its native folder, with its tests. assembly::rex is public, so code beside the library writes prefixes as it does, and the fields of mem and assembly the compiler reads are public.
    • elf: the ELF writer of the Sakura compiler, moved out of its native folder, with tests. Its types lost their elf_ prefixes, as elf::image and elf::segment, a section's kind is an enum, and the machine an image is for may be given. Writing the file is the caller's: the library gives its bytes.
    • dwarf: DWARF's numbers and encodings, moved out of the Sakura compiler's DWARF writer, with tests: numbers, abbreviations, tables of strings, the headers of units and lists, line programs and their table, and the descriptions of frames. What the compiler says of its programs stays the compiler's.
    • pe: the PE writer of the Sakura compiler, moved out of its native folder, with tests. Its types lost their pe_ prefixes, as pe::image, the subsystem may be given, and the exception and debug directories are named besides the imports and their addresses. How functions unwind: unwind_info, unwind_table, and function_table. The debug directory naming a PDB file: debug_entry, codeview_record, and stamp_codeview, and section_headers, which a PDB file keeps. Writing the file is the caller's: the library gives its bytes.
    • pdb: the first version, written for the Sakura compiler's Windows executables: the MSF file and the streams naming the file, of types and IDs, of modules, of names, and of globals and publics; CodeView's type records and symbols; each module's lines, inlinees' lines, and inline sites' annotations; and the GUID naming the file, made from what it holds.