Fix file descriptor fix
@@ -293,7 +293,7 @@ impl FileSystem {
/// Pick a new fd randomly.
fn new_fd(&self) -> FileSystemResult<Fd> {
loop {
- let new_fd = self.random_u32()?.into();
+ let new_fd: Fd = self.random_u32()?.into();
// Set upper limit to 2**31 - 1 (WASI requirement)
let new_fd = Fd(new_fd.0 >> 1);
