From 81ccead64ceb4583a1cb5bb48d2316b52ad3ead9 Mon Sep 17 00:00:00 2001 From: Lua MacDougall Date: Thu, 12 May 2022 15:08:36 -0700 Subject: [PATCH] fox32: revert changes to release profile, switched back to step --- Cargo.toml | 4 ---- src/runtime.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5fdd4db..4fb25ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,3 @@ winit_input_helper = "0.11" [build-dependencies] anyhow = "1.0" vergen = { version = "6", default-features = false, features = ["build", "git"] } - -[profile.release] -opt-level = 3 -lto = "fat" diff --git a/src/runtime.rs b/src/runtime.rs index 411e3a0..d75190c 100644 --- a/src/runtime.rs +++ b/src/runtime.rs @@ -61,7 +61,7 @@ impl Runtime for fox32core::State { } fn step(&mut self) { - if let Some(error) = fox32core::State::resume(self, 8192) { + if let Some(error) = fox32core::State::step(self) { panic!("fox32core failed to execute next instruction: {}", error); } }