are there any ideas/rfcs on how rustc will allow for incremental compilation between compilation sessions?
My thought was that you'd need to save some information to disk about files which have been compiled/last modified and since you are going towards a query based system, you'd probably need to save the queries too. Which may lead to a large amount of data being saved to disk I think
@kev rustc has had incremental compilation for some time now. You can read about it in the dev guide: https://rustc-dev-guide.rust-lang.org/query.html
The guide says that incremental compilation is a simple extension to the query system, I thought that the query system was not implemented yet?
not 100% of the compiler uses the query system (I think macro expansion still runs from scratch each time), but the vast majority does
Oh I see, and I also see the section about persisting to disk, thank you
Last updated: Oct 21 2021 at 20:33 UTC