Hi Justin,

On 2023-11-26 13:59, Justin Berthault wrote:
Trivial update of nushell to 0.87.1

With your diff I'm getting the following error. Does the build really work for
you without a patch to modcargo-crates/uucore-0.0.22/src/lib/features/fs.rs?

cheers,
Volker

--
error[E0308]: mismatched types
   --> 
/build/pobj/nushell-0.87.1/nushell-0.87.1/modcargo-crates/uucore-0.0.22/src/lib/features/fs.rs:122:16
    |
111 |     pub fn number_of_links(&self) -> u64 {
    |                                      --- expected `u64` because of return 
type
...
122 |         return self.0.st_nlink;
    |                ^^^^^^^^^^^^^^^ expected `u64`, found `u32`
    |
help: you can convert a `u32` to a `u64`
    |
122 |         return self.0.st_nlink.into();
    |                               +++++++

Reply via email to