diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-11-11 18:26:14 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-11-12 09:23:37 +1300 |
| commit | f7dc917ba44c13e5ec00503dd82b857211437f48 (patch) | |
| tree | 4bc5443e5f6fa40d48822b3b66bd4e4e7d93ff03 /src/libsyntax/lib.rs | |
| parent | f1f5c04c07f2e888c43cb577810659a7c1d87a00 (diff) | |
| download | rust-f7dc917ba44c13e5ec00503dd82b857211437f48.tar.gz rust-f7dc917ba44c13e5ec00503dd82b857211437f48.zip | |
Add -Zinput-stats
Emits loc, and node count - before and after expansion. E.g., ``` rustc: x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore Lines of code: 32060 Pre-expansion node count: 120205 Post-expansion node count: 482749 ```
Diffstat (limited to 'src/libsyntax/lib.rs')
| -rw-r--r-- | src/libsyntax/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 8b001f2419c..524ac655d88 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -62,10 +62,11 @@ macro_rules! panictry { pub mod util { pub mod interner; + pub mod node_count; + pub mod parser; #[cfg(test)] pub mod parser_testing; pub mod small_vector; - pub mod parser; } pub mod diagnostics { |
