mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
338647db73
expand: Do not allocate `Lrc` for `allow_internal_unstable` list unless necessary This allocation is done for any macro defined in the current crate, or used from a different crate. EDIT: This also removes an `Lrc` increment from each *use* of such macro, which may be more significant. Noticed when reviewing https://github.com/rust-lang/rust/pull/82367. This probably doesn't matter, but let's do a perf run. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |