mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-28 16:11:32 +00:00
Now we can run add
!
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
use wasmer_runtime_core::backend::ProtectedCaller;
|
||||
use wasmparser::{Operator, Type as WpType};
|
||||
|
||||
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator> {
|
||||
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator, PC: ProtectedCaller> {
|
||||
fn next_function(&mut self) -> Result<&mut FCG, CodegenError>;
|
||||
fn finalize(&mut self) -> Result<(), CodegenError>;
|
||||
fn finalize(self) -> Result<PC, CodegenError>;
|
||||
}
|
||||
|
||||
pub trait FunctionCodeGenerator {
|
||||
|
Reference in New Issue
Block a user