Fixed build support for non-x86 arches

This commit is contained in:
River 2025-02-18 22:26:10 -05:00
parent a05218fc0d
commit e8d856d013
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2
2 changed files with 3 additions and 0 deletions

View File

@ -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]]

View File

@ -1,3 +1,4 @@
#[cfg(target_arch = "x86_64")]
pub mod x86_64;
#[cfg(target_arch = "x86_64")]
pub use x86_64 as current;