Open wmmc88 opened 11 months ago
I think the date used in the rustversion macro corresponds with the date of the latest commit in that particular nightly build, and not the name of the nightly which matches the archive date. I think this should probably be called out in the documentation for this crate.
version:
rustversion = "1.0.14"
With
nightly-2023-09-13
:With
nightly-2023-09-14
:As you can see, it fails to compile on
nightly-2023-09-13
, but succeeds onnightly-2023-09-14
. I would expect the opposite behaviour to be true. It seems like the nightly version name is off by 1 compared to what rustversion thinks it is. I'm not sure if this is a bug inrustversion
or in how the rust releases tag their names.