mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

This adds the `requires_rustup_stable` option to the cargo_test macro to require `rustup` to exist, and for the `stable` toolchain to be installed. It is required that stable be installed in Cargo's CI. On a developer machine, the tests will be ignored if rustup is not installed. It will also be ignored on rust-lang/rust's CI since it does not have rustup.