Build failure with the latest syscall crate
error[E0053]: method `seek` has an incompatible type for trait
--> src/scheme.rs:296:5
|
296 | fn seek(&mut self, fd: usize, pos: usize, whence: usize) -> Result<usize> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize`
|
= note: expected fn pointer `fn(&mut scheme::Scheme, usize, isize, usize) -> std::result::Result<isize, syscall::error::Error>`
found fn pointer `fn(&mut scheme::Scheme, usize, usize, usize) -> std::result::Result<usize, syscall::error::Error>`
The signature of the seek()
method has been changed by this MR: syscall!45 (merged).