optimize hline function, update wasmtime

This commit is contained in:
2022-06-12 14:28:01 +02:00
parent e0450c9039
commit caeaa82787
12 changed files with 845 additions and 656 deletions

View File

@@ -14,9 +14,6 @@ use anyhow::Result;
pub trait Runtime {
fn is_open(&self) -> bool;
fn set_timeout(&mut self, _timeout: u32) {
eprintln!("Warning: runtime doesn't support timeout");
}
fn load(&mut self, module_data: &[u8]) -> Result<()>;
fn run_frame(&mut self) -> Result<()>;
}
}