mirror of
https://github.com/Noratrieb/portability.git
synced 2026-01-14 15:55:04 +01:00
13 lines
217 B
Rust
13 lines
217 B
Rust
#![no_std]
|
|
#![no_main]
|
|
#![windows_subsystem = "console"]
|
|
|
|
#[panic_handler]
|
|
fn handle_panic(_: &core::panic::PanicInfo<'_>) -> ! {
|
|
loop {}
|
|
}
|
|
|
|
#[no_mangle]
|
|
pub extern "stdcall" fn mainCRTStartup() -> u32 {
|
|
42
|
|
}
|