diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-01-13 20:43:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-13 20:43:44 -0500 |
| commit | 81f742954a48af17a2a5c57cc708164245a48329 (patch) | |
| tree | 449971669fc0492de1fb39de55b5f7f8a3e0ef0a /compiler/rustc_codegen_llvm/src | |
| parent | 2ae9916816a448fcaab3b2da461de754eda0055a (diff) | |
| parent | 15c01eb22c8f7abbfe6d49dc5824c239547a0323 (diff) | |
| download | rust-81f742954a48af17a2a5c57cc708164245a48329.tar.gz rust-81f742954a48af17a2a5c57cc708164245a48329.zip | |
Rollup merge of #134498 - oli-obk:push-wmxynprsyxvr, r=compiler-errors
Fix cycle error only occurring with -Zdump-mir fixes #134205 During mir dumping, we evaluate static items to render their allocations. If a static item refers to itself, its own MIR will have a reference to itself, so during mir dumping we end up evaluating the static again, causing us to try to build MIR again (mir dumping happens during MIR building). Thus I disabled evaluation of statics during MIR dumps in case the MIR body isn't far enough along yet to be able to be guaranteed cycle free.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
