mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
wasm_interp: rename ExecutionState -> Instance to match standard Wasm terminology
This commit is contained in:
parent
c2a28df6d8
commit
c2bf7d68fc
5 changed files with 19 additions and 20 deletions
|
@ -7,7 +7,7 @@ use std::fs;
|
|||
use std::io;
|
||||
use std::process;
|
||||
|
||||
use roc_wasm_interp::ExecutionState;
|
||||
use roc_wasm_interp::Instance;
|
||||
use roc_wasm_module::WasmModule;
|
||||
|
||||
pub const FLAG_FUNCTION: &str = "function";
|
||||
|
@ -89,7 +89,7 @@ fn main() -> io::Result<()> {
|
|||
|
||||
// Initialise the execution state
|
||||
|
||||
let mut state = ExecutionState::for_module(
|
||||
let mut state = Instance::for_module(
|
||||
&arena,
|
||||
&module,
|
||||
start_fn_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue