This commit is contained in:
nora 2023-09-29 20:17:35 +02:00
commit 8a033fc3df
14 changed files with 197 additions and 0 deletions

4
src/lib.rs Normal file
View file

@ -0,0 +1,4 @@
#![no_std]
#![warn(unreachable_pub)]
mod sys;

8
src/sys/mod.rs Normal file
View file

@ -0,0 +1,8 @@
cfg_if::cfg_if! {
if #[cfg(target_arch = "x86_64")] {
mod x86_64;
pub(crate) use x86_64::*;
} else {
compile_error!("uwuc does not support this target yet!");
}
}

1
src/sys/x86_64/mod.rs Normal file
View file

@ -0,0 +1 @@
pub(crate) mod start;

0
src/sys/x86_64/start.rs Normal file
View file