Linux ASAN and TSAN jobs don't support Rust 1.82.0's &raw operators
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(Not tracked)
People
(Reporter: mail, Unassigned)
References
Details
- Firefox's minimal Rust version is
1.82.0. - Rust
1.82.0stabilized&raw constand&raw mutoperators (RFC 2582). - Firefox's QUIC implementation - Neqo - uses these new operators in Neqo
0.13.3. - Updating https://github.com/mozilla-firefox/firefox to Neqo
0.13.3fails inbuild-linux64-asan/optandbuild-linux64-tsan/optjob with the following error message:
https://treeherder.mozilla.org/jobs?repo=try&revision=b7905ac4e2900df6c5c493011be71dd7342865a1&selectedTaskRun=GFayRWAqSnaQz0hF5gDceA.0error[E0658]: raw address of syntax is experimental - My suspicion is, that this is due to both of these jobs using
rustc version... 1.82.0-devinstead of standard1.82.0.
Is the above correct? What would be the best next step?
Comment 1•1 year ago
|
||
The version of rust we use for tsan/asan builds dates from during the 1.82.0 development period because some changed in rustc 1.82 broke our patches that make -Zbuild-std=std work alongside vendored crates. So that version of rust can lack a few things that normal 1.82.0 has.
See bug 1956123, bug 1957042, bug 1952126 for similar problems we've faced in the past and how they were addressed. The relevant change from rustc 1.82.0 that is missing is https://github.com/rust-lang/rust/pull/127679.
Thank you for the pointers.
Given that our change to &raw is a syntactic change only, I don't think it is worth carrying a patch to our Rust 1.82.0-dev fork for it. Thus I am proposing to revert the change on the Neqo side in https://github.com/mozilla/neqo/pull/2660.
Updated•11 months ago
|
For the record https://github.com/mozilla/neqo/pull/2660 landed as part of Bug 1966980.
In addition we reverted all MSRV-1.82.0 changes in Neqo as part of https://github.com/mozilla/neqo/pull/2661.
We will keep our MSRV at Rust 1.81.0 until all Firefox CI workflows use 1.82.0.
Description
•