fox32: use resume with high count for core runtime, update release
This commit is contained in:
parent
cb95b2b112
commit
e6b74a3ae0
|
@ -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"
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user