mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
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.
13 lines
222 B
Rust
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();
|
|
}
|