Help test the 1.28.0 prerelease!


#1

Rust 1.28.0 is released on Thursday and builds are available now for testing. Release artifacts are uploaded to dev (dev-static.rust-lang.org) currently and will be promoted to prod (static.rust-lang.org) this Thursday. The URL is https://dev-static.rust-lang.org/dist/2018-07-31/.

You can test rustup with

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

Please let us know if you run into any issues! Pending any detected regressions these are likely to be the exact artifacts that we’ll release on Thursday.

Release notes can be found here.


#2

I am not new to this forum, and am not a new user; but I feel like when I see something like this I will ask first: where is the releast note? Without it I would not know What to test. Of cause, I am sure if I dig deeper I will find the information somewhere, but I think most people will not be motived enough to do so.

Even a simple copy-and-paste from the actual release note will be much better.


#3

Oh, thank you! I thought I might’ve forgot something. Release notes are here: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1280-2018-08-02.


#4

In the “Stabilized APIs” section, nearly all of the documentation links to the alloc:: methods are 404-broken. Is that something that will automatically resolve itself at release time?


#5

Yes; for now you can insert “beta” into the URL, like: https://doc.rust-lang.org/beta/std/alloc/fn.alloc.html


#6

The now stabilized opt-levels s and z could use some better documentation. rustc -C help still only outputs:

opt-level=val -- optimize with possible levels 0-3, s, or z

I already asked this question some time ago, still without satisfactory answer. I just tried to research this again, but couldn’t find anything useful. I just keep reading s is to optimize for size, z is optimizing for size even moar! Now the release notes say something about z disabling loop vectorization. That’s the kind of information I’d like to easily find about this!


#7

Please file an issue on rust-lang/rust, or, even better, add some docs to the rustc book: https://github.com/rust-lang/rust/tree/master/src/doc/rustc/src.


#8

As far as rustc is concerned this is probably “just” enabling a corresponding flag in LLVM. Unfortunately even in clang these docs are rather sparse :confused: https://clang.llvm.org/docs/CommandGuide/clang.html#code-generation-options


#9

The noalias change may be worth mentioning in the release notes?


#10

Curious - was there a reason this didn’t end up in the relnotes? Or did it simply slip through the cracks?


#11

Mostly just slipped through the cracks – release notes are put together by hand so there’s always a chance for something to be missed.