This commit is contained in:
Erin 2023-11-03 09:01:26 +01:00
parent d89eca1571
commit d9b4c0dda2

View file

@ -13,11 +13,6 @@
#![no_std] #![no_std]
#![cfg_attr(feature = "nightly", feature(fn_align))] #![cfg_attr(feature = "nightly", feature(fn_align))]
use {
mem::{Address, Memory},
value::ValueVariant,
};
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
extern crate alloc; extern crate alloc;
@ -29,7 +24,11 @@ mod float;
mod utils; mod utils;
mod vmrun; mod vmrun;
use {bmc::BlockCopier, value::Value}; use {
bmc::BlockCopier,
mem::{Address, Memory},
value::{Value, ValueVariant},
};
/// HoleyBytes Virtual Machine /// HoleyBytes Virtual Machine
pub struct Vm<Mem, const TIMER_QUOTIENT: usize> { pub struct Vm<Mem, const TIMER_QUOTIENT: usize> {