Download Rust 1.31.1

Spread the love

Rust is a programming language created by Graydon Hoare and originally developed by Mozilla. It is partly inspired by the C programming language, but has syntactic and semantic differences. It focuses on security and aims to use modern computer systems more efficiently. It will be deployed by Cloudflare, OVH, Mozilla, Deliveroo, Coursera, AppSignal and Threema, among others. Version 1.31.1 was recently released with the following announcement:

What’s in 1.31.1 stable

This patch release fixes a build failure on powerpc-unknown-netbsd by way of an update to the libc crate used by the compiler.

Additionally, the Rust Language Server was updated to fix two critical bugs. First, hovering over the type with documentation above single-line attributes led to 100% CPU usage:
/// Some documentation
#[derive(Debug)] // Multiple, single line
#[allow(missing_docs)] // attributes
pubstruct MyStruct { /* … */ }

Go to definition was fixed for std types: Before, using the RLS on HashMap, for example, tried to open this file
~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/libstd/collections/hash/map.rs

and now RLS goes to the correct location (for Rust 1.31, note the extra src):
~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/s

Version number 1.31.1
Release status Final
Website The Rust Programming Language Blog
Download
License type Conditions (GNU/BSD/etc.)
You might also like
Exit mobile version