Closed 0323pin closed 3 months ago
It compiles fine on Void Linux (musl) with Rust-1.80
Any hints?
I'm seeing the same error trying to upgrade the Gentoo Linux package (which I maintain). Also on Rust 1.79.0, and we don't have 1.80.0 packaged yet.
So, I've fetched x86_64-unknown-netbsd
using rustup
and kicked a build with Rust-1.80. It compiles just fine
~> /home/pin/.cargo/bin/rustc -V
rustc 1.80.0 (051478957 2024-07-21)
~> tar -xf broot-1.41.0.tar.gz
~> cd broot-1.41.0/
~> /home/pin/.cargo/bin/cargo build --release
Compiling proc-macro2 v1.0.86
Compiling unicode-ident v1.0.12
Compiling libc v0.2.155
Compiling autocfg v1.3.0
Compiling cfg-if v1.0.0
[...]
Building [=======================> ] 299/300: broot(bin)
Finished `release` profile [optimized] target(s) in 16m 40s
Now, I guess Cargo.toml
needs to reflect this, https://github.com/Canop/broot/blob/7b2663b1c7cb70ca32def99a00b5fd5618840698/Cargo.toml#L15
right now it says rust-version = "1.65"
which, is obviously not the case.
If rustc 1.80 isn't available everywhere, I may revert the iteration on &Box<[char]>
.
@creideiki Do you confirm a dependency to rustc 1.80 looks like a problem to you ?
@Canop we (NetBSD) had some serious issues with Rust on aarch64, https://github.com/rust-lang/rust/issues/123551
This means, we currently have two versions of Rust, 1.76 for the troubled platforms and 1.79 for x86_64.
It will take sometime to sort everything up and be up-to-date with the current Rust releases. So, 1.80 won't be available for sometime.
@creideiki Do you confirm a dependency to rustc 1.80 looks like a problem to you ?
Yes. Looking at https://github.com/gentoo/gentoo/pull/37727 it seems Rust 1.80 isn't appearing in Gentoo until the packages that fail to build with it are fixed, which could take a while.
So I should aim for 1.76 ?
So I should aim for 1.76 ?
If you would like broot to be installable on aarch64, yes. But, I'm fine with 1.79 as nothing depends on broot.
So I should aim for 1.76 ?
Gentoo ships 1.79 for all architectures that have any stable version (amd64 arm arm64 ppc ppc64 sparc x86). RiscV, MIPS and Loongson are marked unstable for all versions of Rust. So 1.79 or anything older works for me.
If you confirm it looks OK, I'll release 1.41.1
Look good. 6462365700a098be8096c22ef52677a2f75d98f4 builds and runs for me on Gentoo on AMD64 with Rust 1.79.
Merci 👍
I can confirm that git-HEAD builds fine on x86_64 NetBSD with Rust-1.79
@0323pin Is changing the minimal rustc version from 1.76 to 1.79 a problem today ?
@Canop Thanks for asking. No, this is not a problem, we currently have 1.80.1 in tree. The only issue is that anything requiring Rust > 1.76 won't build on 32 bits ARM. But, that's the way it is.
Please go ahead and bump it according to your needs. As long as it's not > 1.80.1 that's fine. For the record, I'm still using 1.81 (not available for users yet).
Hi,
NetBSD package maintainer here. While trying to upgrade our package to the newly release 1.41.0, I'm hitting the following compilation error:
OS: NetBSD-10.99.11 (development version) Rust: 1.79.0