Elektrine lite

← Feed

@Aissen@social.treehouse.systems

Post #1333815

2026-03-27 14:20 UTC

A few weeks later Jana and Mara implemented a fourth solution, which has no RFC. And realized that Rust already have Externally Implemented Items (EII). One of those is the Panic Handler. When building, the core expects a function to be marked #[panic_handler]. With std there is one already provided. The second one is the Allocator, which is a trait with four functions that also needs to be externally implemented. #RustInParis

Replies (1)

  • For their implementations, Mara and Jana decided to have a core definition that is empty but shows the type. It has an attribute to be used to decorate the external implementation. It allows separate implementation and name resolution. #RustInParis

    Open ##1333816