1.38.0 pre-release is ready for testing

The 1.38.0 pre-release is ready for testing. Rust 1.38.0 is scheduled to be released on Thursday September 26th. 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 at https://dev-static.rust-lang.org/dist/2019-09-24/index.html.


Under Compatibility Notes, the release notes mention:

Unfortunately the x86_64-unknown-uefi platform can not be built with rustc 1.39.0.

Should that be 1.38.0?

The link for Stabilized APIs any::type_name is incorrect.

std::any::type_name was created and stabilized within the same version, so the link won't work until 1.38.0 goes live. You can see that redirecting to the beta docs the equivalent link works: https://doc.rust-lang.org/beta/std/any/fn.type_name.html.

1 Like

I believe this is usually also posted on Reddit. cc @pietroalbini

Uh, yeah, got busy with other stuff today and I forgot :sweat_smile:. Posted it.

Also opened a PR to fix the wrong rustc version in the compatibility section.

I would like signal to downstream that with this version, cargo uses libgit2-sys crate which broke the compatibility with libgit2-0.28 branch and depend on unreleased libgit2 version.

Running cargo break at runtime with such error:

$ cargo install test
    Updating crates.io index
error: failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  invalid version 3 on git_proxy_options; class=Invalid (3)

FreeBSD already have a local patch to restore the compatibility at lang/rust-nightly/files/patch-vendor_libgit2-sys_lib.rs , and I intent to use it too for OpenBSD too.