{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiaj6p46u3raxflxcuzyrzdd6w326tebl5xaeifskdfwqimjsmhygy",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mfhpgld2quv2"
},
"path": "/t/custom-cargo-command-to-show-only-errors-avoid-setting-rustflags-every-time/24032#post_1",
"publishedAt": "2026-02-22T15:02:57.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Setting `RUSTFLAGS=\"-Awarnings\"` manually every time you run `cargo` is annoying and repetitive. Could we have a flag such as `--errors` when running `cargo` to make it easier to display errors as sometimes warnings make it hard to find.",
"title": "Custom Cargo Command to Show Only Errors (Avoid Setting RustFLAGS Every Time)"
}