Files
rslibc/runtime/main.rs
T
portersky 812278a22f feat: add no-std common runtime
Add an alloc-backed common library with direct platform I/O.

Build a host attribute macro for async entry points and keep runtime
boilerplate outside application code. Compile the library, macro, and
example directly with rustc through CMake.

Co-Authored-By: luna (openrouter/openai/gpt-5.6-luna): runtime work
2026-09-05 04:48:25 +02:00

12 lines
162 B
Rust

#![no_std]
#![no_main]
fn print(message: &str) {
let _ = rslibc::io::write_str(message);
}
#[rslibc_macros::main]
async fn main() {
print("Hello\n");
}