Loading…
RustConf 2026 has ended
Wednesday September 9, 2026 12:45 - 13:00 EDT
Rust programs don't start at main. Before the first line of user code runs, the linker, the platform loader, and a set of platform-specific initialization hooks have already done substantial work. Matt Mastracci maintains ctor, link-section, and scattered-collect crates that let Rust code register both work and data in custom link sections and run it before main across Linux, macOS, Windows, and WASM. This session walks through building a link-time hashmap, what actually happens during that window, why each platform gets there differently, and where the abstractions leak... including the provenance and LTO failures that only appear once optimizers get involved.

Speakers
MM

Matt Mastracci

Matt Mastracci has been writing Rust since before the 1.0 days. Previously he was hacking Android cellphones and writing a lot of C.
Wednesday September 9, 2026 12:45 - 13:00 EDT
Room 513de | Palais des Congrès de Montréal

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link