#![no_main]
#![no_std]
extern crate flipperzero_rt;
#[cfg(feature = "alloc")]
extern crate flipperzero_alloc;
use core::ffi::CStr;
use flipperzero::{debug, info, println};
use flipperzero_rt::{entry, manifest};
manifest!(
name = "Hello, Rust!",
app_version = 1,
has_icon = true,
icon = "icons/rustacean-10x10.icon",
);
entry!(main);
fn main(_args: Option<&CStr>) -> i32 {
info!("Hello, reader of the logs!");
println!("Hello, {}!", "Rust");
let ret_code = 0;
debug!("Return code: {}", ret_code);
ret_code
}