rustversion
rustversion copied to clipboard
Differentiating stable with no fixed version
Hi David,
Am I right that the versions come from rustc, not from cargo nor rustup's default/overridden toolchain (and neither cargo, nor rustup need to be installed at all)?
Otherwise - in addition to
-
#[rustversion::stable]matching any stable, and -
#[rustversion::stable(1.34)]matching only that fixed stable, how about -
#[rustversion::stable(*)](or#[rustversion::stable(float)]or other) to match when we are onrustup default stable(and the version is not fixed, but will increase withrustup update), please?
(If the above is not possible, then for anyone's reference: cargo_toolchain crate supports that - but then I use both rustversion and cargo_toolchain.)
Either way, thank you for all your crates. Take care.