You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
building cap-std against wasm32-wasip1 fails with the following compiler error with recent nightlies:
error[E0782]: expected a type, found a trait
--> cap-std/src/fs/file.rs:528:9
|
528 | std::os::wasi::fs::FileExt::tell(&self.std)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: you can add the `dyn` keyword if you want a trait object
|
528 | <dyn std::os::wasi::fs::FileExt>::tell(&self.std)
| ++++ +
For more information about this error, try `rustc --explain E0782`.
(I'm not sure how cap-std handles version bumps considering that WASI support depends on the unstable wasi_ext feature but I guess just removing the fn tell(&self) from cap-std's extension trait might be fine?)
Thanks! 🙂
The text was updated successfully, but these errors were encountered:
Hi,
building
cap-std
againstwasm32-wasip1
fails with the following compiler error with recent nightlies:The method was removed here: rust-lang/rust#137205
(I'm not sure how cap-std handles version bumps considering that WASI support depends on the unstable
wasi_ext
feature but I guess just removing thefn tell(&self)
fromcap-std
's extension trait might be fine?)Thanks! 🙂
The text was updated successfully, but these errors were encountered: