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 24 · Jun 9 – 15, 2025

Provenance RFC: add MSVC example

Worth knowingtooling

What changed
The RFC now includes an example demonstrating that Godbolt can run code built with MSVC, showing that MSVC also has provenance.
Production impact
The source does not say.
Try it
Open the RFC text at https://github.com/rust-lang/rfcs/blob/master/text/3559-rust-has-provenance.md to see the added example.
Source
github.com/rust-lang/rfcs/pull/3831

Understand it, then run it

The change adds an example that shows the Godbolt compiler explorer can run code built with MSVC. The background is that Rust’s *provenance* feature, which tracks where data comes from, was already demonstrated on other compilers. Now the RFC includes a snippet that proves MSVC also supports provenance. No new language feature or API is introduced.

Run it now

Todayrust
// This program simply prints a message. It is included to show that
// the current Rust 1.98.1 (edition 2024) compiler can run on MSVC
// and that the provenance feature is available. No new API is used.
fn main() {
    println!("Rust provenance is available on MSVC builds.");
}

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

Rust provenance is available on MSVC builds.

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