Skip to content

Commit b9adf78

Browse files
committed
Port more host code to the new bindings.
1 parent 9ba21ee commit b9adf78

File tree

12 files changed

+2375
-2182
lines changed

12 files changed

+2375
-2182
lines changed

crates/wasi/src/preview2/command.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub mod sync {
9393
},
9494
});
9595

96-
pub fn add_to_linker<T: WasiView>(
96+
pub fn add_to_linker<T: WasiView + Sync>(
9797
l: &mut wasmtime::component::Linker<T>,
9898
) -> anyhow::Result<()> {
9999
crate::preview2::bindings::clocks::wall_clock::add_to_linker(l, |t| t)?;

0 commit comments

Comments
 (0)