arceos-helloworld 0.2.1

A simple helloworld crate (from crates.io) for ArceOS
1
2
3
4
5
6
7
8
9
10
#![cfg_attr(feature = "axstd", no_std)]
#![cfg_attr(feature = "axstd", no_main)]

#[cfg(feature = "axstd")]
use axstd::println;

#[cfg_attr(feature = "axstd", unsafe(no_mangle))]
fn main() {
    println!("Hello, world!");
}