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
I suggest using uutils, which is written in Rust, instead of coreutils. I tried this command: cargo install coreutils
And failed to compile it on ARM64:
error[E0277]: the trait bound i64: From<u64> is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/uucore-0.0.24/src/lib/features/fsext.rs:672:29
|
672 | return self.f_bsize.into();
| ^^^^ the trait From<u64> is not implemented for i64
|
= help: the following other types implement trait From<T>:
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From<deranged::RangedI64<MIN, MAX>>>
<i64 as From>
= note: required for u64 to implement Into<i64>
error[E0277]: the trait bound i64: From<u64> is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/uucore-0.0.24/src/lib/features/fsext.rs:750:28
|
750 | return self.f_type.into();
| ^^^^ the trait From<u64> is not implemented for i64
|
= help: the following other types implement trait From<T>:
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From<deranged::RangedI64<MIN, MAX>>>
<i64 as From>
= note: required for u64 to implement Into<i64>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I suggest using uutils, which is written in Rust, instead of coreutils. I tried this command:
cargo install coreutils
And failed to compile it on ARM64:
error[E0277]: the trait bound
i64: From<u64>
is not satisfied--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/uucore-0.0.24/src/lib/features/fsext.rs:672:29
|
672 | return self.f_bsize.into();
| ^^^^ the trait
From<u64>
is not implemented fori64
|
= help: the following other types implement trait
From<T>
:<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From<deranged::RangedI64<MIN, MAX>>>
<i64 as From>
= note: required for
u64
to implementInto<i64>
error[E0277]: the trait bound
i64: From<u64>
is not satisfied--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/uucore-0.0.24/src/lib/features/fsext.rs:750:28
|
750 | return self.f_type.into();
| ^^^^ the trait
From<u64>
is not implemented fori64
|
= help: the following other types implement trait
From<T>
:<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From>
<i64 as From<deranged::RangedI64<MIN, MAX>>>
<i64 as From>
= note: required for
u64
to implementInto<i64>
Beta Was this translation helpful? Give feedback.
All reactions