Out of tree access to compiler state
by Alona Enraght-Moony
The rust compiler develops a rich understanding of your source code. In addition to using this to produce an executable, this is also use to power many tools (such as rustdoc, miri, and clippy) that ship with the rust toolchain.
But what if you want to do this for your own tool? There are many different ways to get access to rustc’s understanding, each with their own tradeoffs.
This talk will discuss why you might want access to such understanding, the ways to get it, why those ways are all unsatisfactory, and what the rust project could do to make this better.
Alona Enraght-Moony
she/herAlona Enraght-Moony is a member of the Rustdoc team, where she’s been working on rustdoc-json for the past 3 years. In this time she’s helped it evolve from an unmerged PR to something that works reliably and is widely used.
Away from screens, she helps maintain a 120 year old car called Boanerges - ask her about it! She also enjoys going on hikes and playing board games.