rust/compiler/rustc_interface
Matthias Krüger f2231d5324
Rollup merge of #143228 - nnethercote:macro-stats-build-scripts, r=Kobzol
Handle build scripts better in `-Zmacro-stats` output.

Currently all build scripts are listed as `build_script_build` in the stats header. This commit uses `CARGO_PKG_NAME` to improve that.

I tried it on Bevy, it works well, giving output like this on the build script:
```
MACRO EXPANSION STATS: serde build script
```
and this on the crate itself:
```
MACRO EXPANSION STATS: serde
```

r? `@Kobzol`
2025-06-30 20:49:43 +02:00
..
src Rollup merge of #143228 - nnethercote:macro-stats-build-scripts, r=Kobzol 2025-06-30 20:49:43 +02:00
Cargo.toml Use rustc_thread_pool instead of rustc-rayon-core 2025-06-11 12:26:42 -07:00
messages.ftl Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00