mirror of
https://github.com/rcore-os/rCore.git
synced 2025-01-19 01:07:05 +04:00
Fix compilation for riscv32
This commit is contained in:
parent
7227770579
commit
2fe309f6c8
@ -14,6 +14,8 @@ pub const INFORM_PER_MSEC: usize = 50;
|
||||
pub const ARCH: &'static str = "x86_64";
|
||||
#[cfg(target_arch = "riscv64")]
|
||||
pub const ARCH: &'static str = "riscv64";
|
||||
#[cfg(target_arch = "riscv32")]
|
||||
pub const ARCH: &'static str = "riscv32";
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
pub const ARCH: &'static str = "aarch64";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user