Which version of the source code of Rust-project should use?

I want implement some tiny tool based HIR for Rust. But I don't know which commit I should choose to add my code. Some commit version can't be compiled or parsed by rust analyzer because for the lack of some file (such as rust-installer contains nothing but Cargo.toml in root directory depends on it).
So anyone have solutions? thanks so much!

Did you initialize git submodules? ./x.py check or similar should do that for you as first step automatically. Note that you don't need to initialize src/llvm-project as it is only used when actually building and not doing a check run.

Also did you use the rust-analyzer configuration at Suggested Workflows - Rust Compiler Development Guide

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.