Skip to content

Releases: rust-lang/rust

Rust 1.29.1

10 Sep 08:08
Compare
Choose a tag to compare

Security Notes

  • The standard library's str::repeat function contained an out of bounds write caused by an integer overflow. This has been fixed by deterministically panicking when an overflow happens.

    Thank you to Scott McMurray for responsibly disclosing this vulnerability to us.

Rust 1.29.0

10 Sep 05:53
Compare
Choose a tag to compare

Compiler

Libraries

Stabilized APIs

Cargo

Misc

Compatibility Notes

Rust 1.28.0

10 Sep 08:08
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

Cargo

Misc

Compatibility Notes

Rust 1.27.2

10 Sep 08:08
Compare
Choose a tag to compare

Compatibility Notes

  • The borrow checker was fixed to avoid potential unsoundness when using match ergonomics: #52213.

Rust 1.27.1

10 Sep 05:53
Compare
Choose a tag to compare

Security Notes

  • rustdoc would execute plugins in the /tmp/rustdoc/plugins directory when running, which enabled executing code as some other user on a given machine. This release fixes that vulnerability; you can read more about this on the blog. The associated CVE is CVE-2018-1000622.

    Thank you to Red Hat for responsibly disclosing this vulnerability to us.

Compatibility Notes

  • The borrow checker was fixed to avoid an additional potential unsoundness when using match ergonomics: #51415, #49534.

Rust 1.27.0

10 Sep 05:53
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

Cargo

Misc

Compatibility Notes

Rust 1.26.2

10 Sep 05:53
Compare
Choose a tag to compare

Rust 1.26.1

Rust 1.26.0

10 Sep 08:07
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

Cargo

Misc

Compatibility Notes

Rust 1.25.0

10 Sep 05:53
Compare
Choose a tag to compare

Language

enum Foo { A, B, C }

fn main() {
    let x = Foo::A;
    match x {
        | Foo::A
        | Foo::B => println!("AB"),
        | Foo::C => println!("C"),
    }
}

Compiler

Libraries

Stabilized APIs

The following functions can now be used in a constant expression. eg. static MINUTE: Duration = Duration::from_secs(60);

Cargo

Misc

Compatibility Notes