Skip to content
A simple cross-platform runtime / startup for Rust on embedded devices.
Rust Assembly
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE
README.md
rls.toml

README.md

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 .bss and .sbss sections (uninitialized static data)
    • Minimal hardware initialization (e.g. configuring the FPU)
    • Re-exports F32Ext and F64Ext traits from libm (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 rrt0::panic;
use rrt0::{F32Ext, F64Ext};
You can’t perform that action at this time.