Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Fix a copy/paste in an error message (#12880)

Alex Crichton0e1b6337f357
diff --git a/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs b/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs
index a761098649..70b171c370 100644
--- a/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs
+++ b/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs
@@ -801,7 +801,7 @@ impl<'a, T> Source<'a, T> {
..
} = &transmit.write
else {
- bail_bug!("expected WriteState::HostReady");
+ bail_bug!("expected WriteState::GuestReady");
};
let cx = &mut LiftContext::new(store.0.store_opaque_mut(), options, instance);