Construct Call Graphs of Rust programs

Hi everyone!

I am new to Rust and the Rust community in general and I am looking for a way to construct call graphs from Rust projects. I have had a look at two projects and rustfind and tried them with little success. I am now leaning towards understanding how I can use the Rust compiler for call graph generation. I am quite new to this and I would be very thankful for pointers, information or examples on how to use parts from the compiler to create such graphs (If there are any other libraries as well, I will be happy to know about it!)

Thanks in advance!

1 Like