mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
3288d3a305
Use function pointers instead of macro-unrolled loops in rustc_query_impl By making these standalone functions, we a) allow making them extensible in the future with a new `QueryStruct` b) greatly decrease the amount of code in each individual function, avoiding exponential blowup in llvm Helps with https://github.com/rust-lang/rust/issues/96524. Based on https://github.com/rust-lang/rust/pull/101173; only the last commit is relevant. r? `@cjgillot` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |