Hi all! I wonder that debugger for rust compiler(rustc)
I want to debug the rust compiler but i don`t know how to debug to gdb or llvm.
Is it possible to debug the rustc compiler to use debugger?
If it was possible, how can i debug the compiler?
Yes, you can use a regular debugger on rustc. Make sure to compile rustc itself with full debuginfo though. This increases the size of rustc by a lot and as such isn't enabled by default. In the config.toml file you use wihen compiling rustc there is a debug option you can set to true.