I know this question may be stupidly, but it is interesting for me to know usually from where rustc starts compiling a rust code. in other word I'm looking for something like a main
function in compiler source code.
Where is it located in rustc source?
Oh, thank you!
The rustc_driver
crate is also used by rustdoc
and clippy-driver
, for example.
1 Like
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.