From 8b9a75adb4cb64fc711fff712e36632ad4a1ac45 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 28 May 2023 23:38:26 +0200 Subject: [PATCH] a --- hbvm/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hbvm/src/main.rs b/hbvm/src/main.rs index efc7ef2..a873e57 100644 --- a/hbvm/src/main.rs +++ b/hbvm/src/main.rs @@ -1,5 +1,5 @@ use hbvm::{ - bytecode::ops::{opcode::*}, + bytecode::ops::{Operations::*}, engine::Engine, RuntimeErrors, HaltStatus, }; @@ -8,8 +8,8 @@ fn main() -> Result<(), RuntimeErrors> { // TODO: Grab program from cmdline #[rustfmt::skip] let prog: Vec = vec![ - NOP, - JUMP, 0, 0, 0, 0, 0, 0, 0, 0, + NOP as u8, + JUMP as u8, 0, 0, 0, 0, 0, 0, 0, 0, ]; let mut eng = Engine::new(prog);