1
0
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:
Jiajie Chen 2020-06-12 09:33:19 +08:00
parent 7227770579
commit 2fe309f6c8

View File

@ -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";