#![no_main]
#![no_std]
extern crate alloc;
use alloc::boxed::Box;
use vexide_core::println;
#[no_mangle]
extern "Rust" fn main() {
unsafe {
let test_box = Box::new(100);
vex_sdk::vexDisplayRectFill(0, 0, *test_box, 200);
println!("Hello, world!");
}
}
#[no_mangle]
#[link_section = ".boot"]
unsafe extern "C" fn _entry() {
unsafe { vexide_startup::program_entry() }
}
#[link_section = ".cold_magic"]
#[used] static COLD_HEADER: vexide_startup::ColdHeader = vexide_startup::ColdHeader::new(2, 0, 0);
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo<'_>) -> ! {
loop {}
}