I am trying to invent a way to reference some constants / ids declared in Rust crate in Python scripts. Rust constants are declared as:
const SHIFT:usize = 16; const ID1:u32 = 10 << SHIFT;
Ideally, I need a tool to dump constant identifiers and their computed values into stdout :).
Is there some magic command (cargo/rustc/whatever) to help with that?