mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 11:45:05 +01:00
init
This commit is contained in:
commit
8a033fc3df
14 changed files with 197 additions and 0 deletions
4
src/lib.rs
Normal file
4
src/lib.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#![no_std]
|
||||
#![warn(unreachable_pub)]
|
||||
|
||||
mod sys;
|
||||
8
src/sys/mod.rs
Normal file
8
src/sys/mod.rs
Normal 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
1
src/sys/x86_64/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub(crate) mod start;
|
||||
0
src/sys/x86_64/start.rs
Normal file
0
src/sys/x86_64/start.rs
Normal file
Loading…
Add table
Add a link
Reference in a new issue