This commit is contained in:
Nilton Constantino
2026-02-02 21:37:40 +00:00
parent 3af2aa1328
commit 6cf1e71b99
14 changed files with 135 additions and 67 deletions
-2
View File
@@ -6,7 +6,6 @@ use prometeu_core::virtual_machine::{LogicalFrameEndingReason, VirtualMachine};
use prometeu_core::Hardware;
use std::fs;
use std::path::Path;
use prometeu_bytecode::BytecodeLoader;
struct MockNative;
impl NativeInterface for MockNative {
@@ -40,7 +39,6 @@ fn test_canonical_cartridge_heartbeat() {
let pbc_bytes = fs::read(pbc_path).expect("Failed to read canonical PBC. Did you run the generation test?");
// Determine entrypoint from the compiled module exports
let module = BytecodeLoader::load(&pbc_bytes).expect("Failed to parse PBC");
let entry_symbol = "src/main/modules:frame";
let mut vm = VirtualMachine::new(vec![], vec![]);