mirror of
https://github.com/Noratrieb/portability.git
synced 2026-01-14 15:55:04 +01:00
magic
This commit is contained in:
commit
00afbbfea3
7 changed files with 660 additions and 0 deletions
10
test/example_exe.rs
Normal file
10
test/example_exe.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
#[panic_handler]
|
||||
fn handle_panic(_: &core::panic::PanicInfo<'_>) -> ! {
|
||||
loop {}
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue