Open Bug 1986626 Opened 1 month ago Updated 4 days ago

Update minimum Rust version to 1.87

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned, NeedInfo)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Rust 1.85 stabilized edition 2024 which some libraries started to use, e.g. jxl-rs in bug 1986393.

We have 1.86 already in builders, does that mean we can/should go straight to 1.86?

Flags: needinfo?(mh+mozilla)

I'm told that 1.87 is the actual minimum supported version for safe architecture intrinsics.

Summary: Update minimum Rust version to 1.85 → Update minimum Rust version to 1.87
Depends on: rustc-1.87
No longer depends on: rustc-1.85

(Also told that they can work it around to make it work for 1.85, if 1.87 doesn't work for us anytime soon)

https://treeherder.mozilla.org/jobs?repo=try&revision=b3e4a216e3310662feded2ca3ae4f080645c84bd

[task 2025-09-03T08:56:19.742+00:00] 08:56:19    ERROR -  error[E0658]: `let` expressions in this position are unstable
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/jxl/src/api/color.rs:758:12
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -      |
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -  758 |         if let JxlColorEncoding::XYB { rendering_intent } = self
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -      |
[task 2025-09-03T08:56:19.742+00:00] 08:56:19     INFO -      = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information

That's 1.88+...

Any idea when this might be fixed (or verified to not be fixed, so we can work around it)?

Most of the other issues blocking the Rust JXL integration are now fixed, this is one of the stragglers :D

You need to log in before you can comment on or make changes to this bug.