fox32: use resume with high count for core runtime, update release

This commit is contained in:
Lua MacDougall 2022-05-12 14:44:03 -07:00 committed by Ry
parent cb95b2b112
commit e6b74a3ae0
2 changed files with 5 additions and 1 deletions

View File

@ -20,3 +20,7 @@ winit_input_helper = "0.11"
[build-dependencies] [build-dependencies]
anyhow = "1.0" anyhow = "1.0"
vergen = { version = "6", default-features = false, features = ["build", "git"] } vergen = { version = "6", default-features = false, features = ["build", "git"] }
[profile.release]
opt-level = 3
lto = "fat"

View File

@ -61,7 +61,7 @@ impl Runtime for fox32core::State {
} }
fn step(&mut self) { fn step(&mut self) {
if let Some(error) = fox32core::State::step(self) { if let Some(error) = fox32core::State::resume(self, 8192) {
panic!("fox32core failed to execute next instruction: {}", error); panic!("fox32core failed to execute next instruction: {}", error);
} }
} }