This commit is contained in:
Ralf Jung 2022-05-10 12:21:01 +02:00
parent 82411c5840
commit a2f6837574

View File

@ -28,7 +28,7 @@ use rustc_span::symbol::{sym, Symbol};
use rustc_target::abi::Size; use rustc_target::abi::Size;
use rustc_target::spec::abi::Abi; use rustc_target::spec::abi::Abi;
use crate::{*, shims::posix::FileHandler}; use crate::{shims::posix::FileHandler, *};
// Some global facts about the emulated machine. // Some global facts about the emulated machine.
pub const PAGE_SIZE: u64 = 4 * 1024; // FIXME: adjust to target architecture pub const PAGE_SIZE: u64 = 4 * 1024; // FIXME: adjust to target architecture