forked from AbleOS/holey-bytes
Whoops.
This commit is contained in:
parent
ede5d7b0bb
commit
dd454f6b04
|
@ -2,17 +2,14 @@
|
||||||
|
|
||||||
#![deny(unsafe_op_in_unsafe_fn)]
|
#![deny(unsafe_op_in_unsafe_fn)]
|
||||||
|
|
||||||
mod eca;
|
|
||||||
mod mem;
|
mod mem;
|
||||||
|
|
||||||
use {
|
use {
|
||||||
hbvm::{mem::Address, Vm, VmRunOk},
|
hbvm::{mem::Address, Vm, VmRunOk},
|
||||||
memmap2::Mmap,
|
memmap2::Mmap,
|
||||||
std::{env::args, fs::File, io::Read, mem::MaybeUninit, process::exit},
|
std::{env::args, fs::File, mem::MaybeUninit, process::exit},
|
||||||
};
|
};
|
||||||
|
|
||||||
type RtVm = Vm<mem::HostMemory, 0>;
|
|
||||||
|
|
||||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
eprintln!("== HB×RT (Holey Bytes Experimental Runtime) v0.1 ==");
|
eprintln!("== HB×RT (Holey Bytes Experimental Runtime) v0.1 ==");
|
||||||
eprintln!("[W] Currently supporting only flat images");
|
eprintln!("[W] Currently supporting only flat images");
|
||||||
|
|
BIN
program.hbf
BIN
program.hbf
Binary file not shown.
Loading…
Reference in a new issue