Files
mcaselector-lite/src/lib.rs
Quinn 7a64aefcac setup project files
Added (most) of the project files to the working tree.
Some work still needs to be done to make the rust/C communication better
before we can fully move on to starting to write the actual applicaiton.
2025-05-01 16:48:18 +02:00

13 lines
222 B
Rust

#![no_std]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}
#[unsafe(no_mangle)]
pub unsafe extern "C" fn get_str() -> *const u8 {
let str = "Hello, World\0";
return str.as_ptr();
}