diff options
| author | bors <bors@rust-lang.org> | 2023-10-13 00:09:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-13 00:09:30 +0000 |
| commit | 130ff8cb6c3d62ed66daf652cbb5323d3f93c4fc (patch) | |
| tree | e3cebf6b03b2c768dd5347f2ea5101bbd1ac6963 /compiler/rustc_interface/src | |
| parent | e20cb7702117f1ad8127a16406ba9edd230c4f65 (diff) | |
| parent | f0b5820fa5b29d840e700ee5d760b55d291311c3 (diff) | |
| download | rust-130ff8cb6c3d62ed66daf652cbb5323d3f93c4fc.tar.gz rust-130ff8cb6c3d62ed66daf652cbb5323d3f93c4fc.zip | |
Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot
Remove cgu_reuse_tracker from Session This removes a bit of global mutable state. It will now miss post-lto cgu reuse when ThinLTO determines that a cgu doesn't get changed, but there weren't any tests for this anyway and a test for it would be fragile to the exact implementation of ThinLTO in LLVM.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 0e8f93cef17..718dbaaafcc 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -957,10 +957,9 @@ pub fn start_codegen<'tcx>( codegen_backend.codegen_crate(tcx, metadata, need_metadata_module) }); - // Don't run these test assertions when not doing codegen. Compiletest tries to build + // Don't run this test assertions when not doing codegen. Compiletest tries to build // build-fail tests in check mode first and expects it to not give an error in that case. if tcx.sess.opts.output_types.should_codegen() { - rustc_incremental::assert_module_sources::assert_module_sources(tcx); rustc_symbol_mangling::test::report_symbol_names(tcx); } |
