Open Bug 1945020 Opened 8 days ago Updated 38 minutes ago

Update minimum Rust version to 1.82

Categories

(Firefox Build System :: Toolchains, task, P1)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler)

References

(Blocks 2 open bugs)

Details

(Keywords: leave-open)

Attachments

(2 files)

No description provided.
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc6c49efcb3d build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium

Backed out for causing build bustages.

To compile Rust language sources please install at least
[task 2025-01-31T03:16:42.073Z] 03:16:42     INFO -  version 1.82.0 of the 'rustc' toolchain (or, if using nightly,
[task 2025-01-31T03:16:42.073Z] 03:16:42     INFO -  at least one version newer than 1.82.0) and make sure it is
[task 2025-01-31T03:16:42.073Z] 03:16:42     INFO -  first in your path.
[task 2025-01-31T03:16:42.073Z] 03:16:42     INFO -  You can verify this by typing 'rustc --version'.
[task 2025-01-31T03:16:42.074Z] 03:16:42     INFO -  If you have the 'rustup' tool installed you can upgrade
[task 2025-01-31T03:16:42.074Z] 03:16:42     INFO -  to the latest release by typing 'rustup update'. The
[task 2025-01-31T03:16:42.074Z] 03:16:42     INFO -  installer is available from https://rustup.rs/
Flags: needinfo?(egubler)

Oh, right, I forgot we're stuck on 1.81 for asan builds because our patch for -Z build-std doesn't apply to 1.82 and needs to be rewritten.

Depends on: 1915537
Depends on: 1944676

Investigating.

Flags: needinfo?(egubler)

:glandium: What are options here? I don't know if I have sufficient knowledge to make ASAN builds work again, but I'm willing to give it a try, if that's what's necessary to get this to ship.

Flags: needinfo?(mh+mozilla)

Can you try updating to rustc to ab1527f1d6560168f9fd36fa8cd7ba677c1d36ad? It's rustc before the changes that break the patches, and thankfully supports unsafe extern.

Flags: needinfo?(mh+mozilla) → needinfo?(egubler)

(In reply to Mike Hommey [:glandium] from comment #7)

Can you try updating to rustc to ab1527f1d6560168f9fd36fa8cd7ba677c1d36ad? It's rustc before the changes that break the patches, and thankfully supports unsafe extern.

Note that would be a short term solution, because it would soon lead to confusion as to why some constructs from 1.82 lead to build errors on asan builds because it's not a full 1.82.

Flags: needinfo?(egubler)
Keywords: leave-open
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/927d80214012 docs(rust): note Rust version as 1.76 for Firefox 136 r=glandium
Blocks: 1565033
No longer depends on: 1915537
See Also: → 1915537
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/92f2e85a4d1d build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium

Backed out for causing sm bustages in math-fdlibm-sincostan.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/resist-fingerprinting/math-fdlibm-sincostan.js | /builds/worker/checkouts/gecko/js/src/jit-test/tests/resist-fingerprinting/math-fdlibm-sincostan.js:87:11 Error: Assertion failed: got false, expected true (code 3, args "") [0.1 s]
Flags: needinfo?(egubler)

I...don't think the failure is related, so I'll try landing it again. We'll see if my hubris pans out. 🤪

Flags: needinfo?(egubler)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: