I would like to extend the functionality of Cranelift and test the implemented features with some example Rust programs I have written. To do so, I need to be able to run cargo-clif in a debugger.
Is there an official way to compile the toolchain (cranelift module + rustc_codegen) with debug information?The y.sh file does not provide an argument to build the toolchain with "dev" profile and when I manually replace "release" with "debug" in build_sysroot.rs and build_backend.rs, the output cargo-clif binary still lacks debug information.