Neat cargo plugin I haven't seen before: https://crates.io/crates/cargo-expand
`cargo expand` will expand macros so you can see the regular Rust code produced. For example, println!(); expands to this (even syntax highlighted!).
TIL eager macro expansion can mean very different things.
Rust macros must expand to valid code, so eager macro expansion allows illegal intermediate states: https://docs.rs/eager/0.1.0/eager/macro.eager.html#macro-expansions
Elisp macros are expanded at runtime unless expansion is eager:
Took me a while to figure out how to debug a hanging Rust test. The best invocation seems to be:
$ RUST_TEST_THREADS=1 cargo test -- --nocapture
This will print test names before execution, so you can see where you're hanging. --nocapture lets you see print output immediately.
Wilfred Hughes
Shared words: Rust, cargo, will, so, see
Score: 145.5