rrt0
Simple cross-platform runtime / startup (like crt0).
Supported platforms
Primary goals
- Create a sane, platform-specific ABI environment
- Set the stack pointer
- Clear the
.bssand.sbsssections (uninitialized static data) - Minimal hardware initialization (e.g. configuring the FPU)
- Re-exports
F32ExtandF64Exttraits fromlibm(for platforms with an FPU)
Usage
The panic function must be imported with pub use, or you will get missing-symbol errors at link time. The floating point trait extensions can also be used for convenience.
pub use panic;
use ;