Skip to content

Commit

Permalink
Rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
saulecabrera committed Oct 7, 2024
1 parent 42c63c0 commit ddc1e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/src/bytecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ pub fn compile_source(provider: &[u8], js_source_code: &[u8]) -> Result<Vec<u8>>
Ok(bytecode)
}

fn create_wasm_env(bytes: &[u8]) -> Result<(Store<WasiCtx>, Instance, Memory)> {
fn create_wasm_env(provider_bytes: &[u8]) -> Result<(Store<WasiCtx>, Instance, Memory)> {
let engine = Engine::default();
let module = Module::new(&engine, bytes)?;
let module = Module::new(&engine, provider_bytes)?;
let mut linker = Linker::new(&engine);
wasi_common::sync::snapshots::preview_1::add_wasi_snapshot_preview1_to_linker(
&mut linker,
Expand Down

0 comments on commit ddc1e58

Please sign in to comment.