Skip to content

Commit a3efe43

Browse files
authored
Relax a trait bound for futures (#1428)
Required to update wit-bindgen in the `wasip3` crate. Seems like a possible rustc bug? Unsure...
1 parent cadda8d commit a3efe43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/guest-rust/src/rt/async_support/future_support.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub struct FutureVtable<T> {
209209
pub new: unsafe extern "C" fn() -> u64,
210210
}
211211

212-
impl<T> FutureOps for &'static FutureVtable<T> {
212+
impl<T> FutureOps for &FutureVtable<T> {
213213
type Payload = T;
214214

215215
fn new(&mut self) -> u64 {

0 commit comments

Comments
 (0)