Cannot stop .profraw files from being generated

All of a sudden, every time I run one of my Rust project with cargo run, a gazillion .profraw files get generated. A few days ago, that was not the case.

Anyone knows what changed or how I could stop this from happening?

I run Sequoia 15.3 on Apple Silicon and the rustc version is rustc 1.84.1 (e71f9a9a9 2025-01-27)

Are you using PGO? What is the contents of the .cargo/config or .cargo/config.toml in your project dir and in your home dir? Do you have the RUSTFLAGS env var set?

1 Like

Ha, my env variables has this: RUSTFLAGS=-C instrument-coverage=all which I believe, and you can confirm, is the culprit.
Thank you Bjørn for pointing me in the right direction.