diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-19 11:23:35 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-10-09 18:39:41 +0000 |
| commit | e9fa2ca6add1db7f77c90bdc06210be694ed2571 (patch) | |
| tree | 1d475d35e797bd22c88e0532b4f1dfe2f447426e /compiler/rustc_interface/src/passes.rs | |
| parent | 3dfd9dfe7ce9bf4bcbb4d1d880cd2c75a85b310c (diff) | |
| download | rust-e9fa2ca6add1db7f77c90bdc06210be694ed2571.tar.gz rust-e9fa2ca6add1db7f77c90bdc06210be694ed2571.zip | |
Remove cgu_reuse_tracker from Session
This removes a bit of global mutable state
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
| -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); } |
