Add Note About Cargo Expand Pager
This commit is contained in:
parent
4977837fad
commit
968fdbba9b
@ -4,4 +4,5 @@
|
||||
|
||||
- Print the final output of a macro using `cargo rustc --profile=check -- -Zunstable-options --pretty=expanded`
|
||||
- Alternatively you could install and use [cargo expand](https://github.com/dtolnay/cargo-expand) which adds syntax highlighting to the terminal output.
|
||||
- Additionally get pager by piping to `less` ( on Unix systems ): `cargo expand --color always | less -R`
|
||||
- Print output during macro compilation using `eprintln!("hi");`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user