Rust 1.36.0 pre-release testing

The 1.36.0 pre-release is ready for testing. Rust 1.36.0 is scheduled to be released on Thursday July 4th. Release notes can be found here: https://github.com/rust-lang/rust/blob/master/RELEASES.md.

You can try it out locally with:

RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable

The index is https://dev-static.rust-lang.org/dist/2019-07-03/index.html.

9 Likes

I have a problem while building firefox-60.7.2esr with rustc-1.36.0, whereas it build fine with rustc-1.35.0.

A bug report has been opened on firefox side: https://bugzilla.mozilla.org/show_bug.cgi?id=1562579 but it has been classified as WONTFIX as it seems it is required to downstream to use rustc-1.24.0 to build it.

But I wonder if the problem (regression from stable to stable) is expected, and where is the origin (change in libstd ? in compiler ? somewhere else ?).

Any hint to help building firefox-esr with up-to-date compiler would be also appreciate.

4 Likes

On FreeBSD we patch firefox-esr and thunderbird like this at the moment: https://reviews.freebsd.org/D20810#change-K68aYoUXfAu1

Here’s the regression on the playground: https://play.rust-lang.org/?version=beta&mode=debug&edition=2018&gist=8d5873c1e67b3b5d7efb042816b92ac0

Compiles on stable, fails on beta.

It seems that the inferred UnwindSafe conditions of HashMap changed with the use of hashbrown~~, but I failed to reduce this to just using a simple local !UnwindSafe type, so it may also be related to the RegexSet~~.

EDIT: minimized

I opened an issue here: https://github.com/rust-lang/rust/issues/62301

6 Likes

HashMap missing the UnwindSafe impl issue should be fixed, and new artifacts have been published; https://dev-static.rust-lang.org/dist/2019-07-03/index.html. I’ve also updated the link in the original post. Thanks for checking the artifacts!

4 Likes