This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Rust · Archive · Week 27 · Jun 29 – Jul 5, 2026

Rust 1.96.1 patch release

Worth knowingtooling

What changed
The Rust team released a patch version, 1.96.1, to address issues found in 1.96.0.
Production impact
The source does not say.
Try it
Run rustc --version after updating to confirm the patch level.
Source
blog.rust-lang.org/2026/06/30/Rust-1.96.1/

Understand it, then run it

Rust 1.96.1 is a small update that fixes a few bugs. The main changes are in Cargo, the tool that downloads and builds Rust projects. Cargo’s HTTP client now retries failed requests and has a timeout, so it is less likely to hang. A compiler optimization that could produce wrong code has been corrected. Three security problems in the libssh2 library, which Cargo uses for SSH, have been patched.

Run it now

Todayrust
// This program demonstrates a simple retry loop that mimics the
// robustness added to Cargo's HTTP client in Rust 1.96.1.
// It attempts to fetch a URL, retrying up to 3 times on failure.
// The output shows the number of attempts and whether it succeeded.

use std::time::Duration;
use std::thread::sleep;
use std::io::ErrorKind;

fn main() {
    let url = "https://example.com";
    let max_attempts = 3;
    let mut attempt = 0;

    loop {
        attempt += 1;
        println!("Attempt {}: fetching {}", attempt, url);

        // Simulate a network request that fails the first two times.
        let result: Result<(), std::io::Error> = if attempt < 3 {
            Err(std::io::Error::new(ErrorKind::TimedOut, "simulated timeout"))
        } else {
            Ok(())
        };

        match result {
            Ok(_) => {
                println!("Success on attempt {}", attempt);
                break;
            }
            Err(e) => {
                println!("Error: {}", e);
                if attempt >= max_attempts {
                    println!("Reached maximum attempts, giving up.");
                    break;
                } else {
                    println!("Retrying after delay...");
                    sleep(Duration::from_millis(500));
                }
            }
        }
    }
}

What it printed when we ran it on Rust 1.98.1 (edition 2024)

Attempt 1: fetching https://example.com
Error: simulated timeout
Retrying after delay...
Attempt 2: fetching https://example.com
Error: simulated timeout
Retrying after delay...
Attempt 3: fetching https://example.com
Success on attempt 3

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed