Skip to content

Commit 90427a0

Browse files
authored
Explicitly annotate type of wrap_on_hostcall (#93)
1 parent 4883c69 commit 90427a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/polkavm/src/compiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ impl<S> CompiledInstance<S> where S: SandboxExt {
450450
}
451451
}
452452

453-
let mut on_hostcall = wrap_on_hostcall(on_hostcall);
453+
let mut on_hostcall = wrap_on_hostcall::<S>(on_hostcall);
454454
exec_args.set_on_hostcall(&mut on_hostcall);
455455

456456
let sandbox = self.sandbox.as_mut().unwrap();

0 commit comments

Comments
 (0)