AsahiLinux / speakersafetyd

Rust speaker safety daemon for Asahi Linux
MIT License
119 stars 7 forks source link

speakersafetyd and rust 1.80 #15

Closed mrkcee closed 1 month ago

mrkcee commented 1 month ago

speakersafetyd is not compiling using rust 1.80 because time, one of its dependencies, is failing on rust 1.80. This has been raised upstream: https://github.com/rust-lang/rust/issues/127343. Based on the discussion in that link, it looks like they have opted to just let the packages that use time update to the newer version (>=0.3.35).

I tried building speakersafetyd locally with updated packages (via cargo update) and it was successful.

mkurz commented 1 month ago

Can confirm. I added cargo update in my PKGBUILD locally to compile the package with rust 1.80:

joske commented 1 month ago

@chadmed I see you bumped the lock file, so if you make a new tag, we don't have to adapt the PKGBUILD.

chadmed commented 1 month ago

New tag pushed. Thanks for bringing this up!

dkwo commented 3 weeks ago

@chadmed You may also want to update the version of speakersafetyd itself from 0.1.9 to 1.0.0 in the lockfile Cargo.lock, otherwise the package won't build with --locked or similar.

chadmed commented 3 weeks ago

@dkwo pushed as part of new release