Closed Bug 1945020 Opened 11 months ago Closed 10 months ago

Update minimum Rust version to 1.82

Categories

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

task

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler)

References

Details

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)
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e66bc1e8bbab build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium
Flags: needinfo?(egubler)
No longer blocks: 1565033
Blocks: 1947920
No longer blocks: 1943149
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/86f04c8644c2 build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium
Depends on: rustc-1.82
Blocks: 1948842

Backed out changeset 86f04c8644c2 for causing build bustages

error: linking with `/builds/worker/checkouts/gecko/build/cargo-linker` failed: exit status: 254
Flags: needinfo?(egubler)

Sigh, will investigate.

Flags: needinfo?(egubler)
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed1adda514e3 build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium

Backed out for causing build bustages @cargo-linker.

Flags: needinfo?(egubler)
Flags: needinfo?(egubler)
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae5640375b7e build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Keywords: leave-open
Target Milestone: --- → 137 Branch
See Also: → 1950970
Blocks: 1997808
Blocks: 2002715
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: