How to parse rmeta file

I try to read TyCtxt from rmeta file, and I see there are a function encode_and_write_metadata in filelibrustc_interface/passes.rs for encode TyCtxt, but how can't I decode It? I can't find any function to do that.

Maybe *.rmeta doesn't have the information I need, I think I should call run_compiler to get the TyCtxt

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.