mirror of https://github.com/E-Almqvist/eOS
parent
54337e72e9
commit
ed32566174
@ -1,7 +1,12 @@ |
||||
bin/ |
||||
src/bin/ |
||||
*.bin |
||||
*.o |
||||
os-image |
||||
src/os-image |
||||
*.dis |
||||
boot/ |
||||
src/boot/ |
||||
*.iso |
||||
|
||||
|
||||
# Added by cargo |
||||
|
||||
/target |
||||
|
@ -0,0 +1,7 @@ |
||||
# This file is automatically @generated by Cargo. |
||||
# It is not intended for manual editing. |
||||
version = 3 |
||||
|
||||
[[package]] |
||||
name = "eOS" |
||||
version = "0.1.0" |
@ -0,0 +1,15 @@ |
||||
[package] |
||||
name = "eOS" |
||||
version = "0.1.0" |
||||
edition = "2021" |
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
||||
|
||||
[dependencies] |
||||
|
||||
[profile.release] |
||||
panic = "abort" |
||||
|
||||
[profile.dev] |
||||
panic = "abort" |
||||
|
@ -0,0 +1,14 @@ |
||||
#![no_std] |
||||
#![no_main] |
||||
|
||||
use core::panic::PanicInfo; |
||||
|
||||
#[no_mangle] |
||||
pub extern "C" fn _start() -> ! { |
||||
loop {} |
||||
} |
||||
|
||||
#[panic_handler] |
||||
fn panic(_info: &PanicInfo) -> ! { |
||||
loop {} |
||||
} |
Loading…
Reference in new issue