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); } }