rust/compiler/rustc_expand/src
Jubilee b5631095cd
Rollup merge of #142934 - nnethercote:tweak-macro-stats, r=petrochenkov
Tweak `-Zmacro-stats` measurement.

It currently reports net size, i.e. size(output) - size(input). After some use I think this is sub-optimal, and it's better to just report size(output). Because for derive macros the input size is always 1, and for attribute macros it's almost always 1.

r? ```@petrochenkov```
2025-06-24 19:45:33 -07:00
..
mbe Rollup merge of #142657 - tgross35:nonoptional-fragment-specifiers-cleanup, r=petrochenkov 2025-06-24 20:46:03 +02:00
base.rs Remove an njn: comment accidentaly left behind. 2025-06-16 15:18:48 +10:00
build.rs Improve pretty-printing of braces. 2025-04-29 13:46:17 +10:00
config.rs Don't include current rustc version string in feature removed help 2025-06-24 23:32:09 +08:00
errors.rs Rollup merge of #142943 - jieyouxu:no-rustc-version, r=compiler-errors 2025-06-24 20:46:06 +02:00
expand.rs Auto merge of #142706 - fee1-dead-contrib:push-zsznlqyrzsqo, r=oli-obk 2025-06-22 14:03:44 +00:00
lib.rs Introduce -Zmacro-stats. 2025-06-12 21:17:17 +10:00
mbe.rs mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
module.rs Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00
placeholders.rs completely deduplicate Visitor and MutVisitor 2025-06-19 17:50:44 +08:00
proc_macro.rs Do not get proc_macro from the sysroot in rustc 2025-05-27 15:49:28 +00:00
proc_macro_server.rs Do not get proc_macro from the sysroot in rustc 2025-05-27 15:49:28 +00:00
stats.rs Tweak -Zmacro-stats measurement. 2025-06-24 08:42:14 +10:00