diff --git a/Cargo.toml b/Cargo.toml index 3d07adc..83f40e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,8 @@ lazy_static = { version = "1.5.0", features = ["spin_no_std"] } limine = "0.3.1" spin = "0.9.8" talc = "4.4.2" + +[target.'cfg(target_arch = "x86_64")'.dependencies] vga = "0.2.9" [[bin]] diff --git a/src/arch/mod.rs b/src/arch/mod.rs index 80b1c69..776fad9 100644 --- a/src/arch/mod.rs +++ b/src/arch/mod.rs @@ -1,3 +1,4 @@ #[cfg(target_arch = "x86_64")] pub mod x86_64; +#[cfg(target_arch = "x86_64")] pub use x86_64 as current; \ No newline at end of file