#![no_main]
#![no_std]
extern crate alloc;
use alloc::boxed::Box;
use vex_sdk::vexTasksRun;
use vexide_core::println;
use vexide_startup::{CodeSignature, ProgramFlags, ProgramOwner, ProgramType};
#[no_mangle]
extern "Rust" fn main() {
unsafe {
let test_box = Box::new(100);
vex_sdk::vexDisplayRectFill(0, 0, *test_box, 200);
println!("Hello, world!");
vexTasksRun(); }
}
#[no_mangle]
#[link_section = ".boot"]
unsafe extern "C" fn _start() {
unsafe { vexide_startup::program_entry::<true>() }
}
#[link_section = ".code_signature"]
#[used] static CODE_SIG: CodeSignature = CodeSignature::new(
ProgramType::User,
ProgramOwner::Partner,
ProgramFlags::empty(),
);
#[panic_handler]
const fn panic(_info: &core::panic::PanicInfo<'_>) -> ! {
loop {}
}