wrestling with crates and imports

This commit is contained in:
vik 2025-01-01 20:38:25 -06:00
parent 3b3421dc1b
commit c47cb3ba43
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,5 @@
#[allow(dead_code)] #![allow(dead_code)]
#![allow(unused_variables)]
use crate::vm::VM; use crate::vm::VM;

View File

@ -1,3 +1,3 @@
pub mod mem; pub mod virtmem;
pub mod isa; pub mod isa;
pub mod vm; pub mod vm;

View File

@ -1,7 +1,6 @@
#![allow(dead_code)] #![allow(dead_code)]
#![allow(unused_variables)]
mod vm; mod vm;
use mem;
fn main() { fn main() {
let lc3 = vm::VM::new(); let lc3 = vm::VM::new();

View File

@ -1,6 +1,7 @@
#[allow(dead_code)] #![allow(dead_code)]
#![allow(unused)]
use crate::mem::Memory; use crate::virtmem::Memory;
const PC_START: u16 = 0x300; const PC_START: u16 = 0x300;