1

I would like to find out under which nightly builds can I compile my code with a specific crate (in this case rustc_ast). I know I can do it using the latest nightly (rustc 1.51.0-nightly (44e3daf5e 2020-12-31)), but I have an additional dependency that only compiles on nightly-2020-10-05 & earlier. However, when I check with that one, I get:

26 | extern crate rustc_ast;
   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

My end goal would be to find some nightly build which is compatible with both.

Is there a simple tool that allows for listing all available versions for a crate, something like: cargo versions rustc_ast? Thanks for help!

mmagician
  • 1,970
  • 2
  • 15
  • 26
  • https://crates.io/crates/rustc-ap-rustc_ast/versions – Ivan C Jan 03 '21 at 00:51
  • @IvanC That somewhat helps, although with `rustup override set nightly-2020-09-29` I still get the `can't find crate` error. I am not sure whether the date of publishing the crate corresponds 1:1 with nightly build versions – mmagician Jan 03 '21 at 01:18

0 Answers0