diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-01-27 08:11:02 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-01-27 09:38:12 +0000 |
| commit | b24f6745203fcf7e177f577444a0cdbae6411b41 (patch) | |
| tree | 566e8dc042baf627d9c7660555ab1ec54a38f340 /compiler/rustc_codegen_ssa/src/back | |
| parent | 633a3fe36dd9a5196054dc3a61adbd3c61854dcf (diff) | |
| download | rust-b24f6745203fcf7e177f577444a0cdbae6411b41.tar.gz rust-b24f6745203fcf7e177f577444a0cdbae6411b41.zip | |
Change `collect_and_partition_mono_items` tuple return type to a struct
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/symbol_export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/symbol_export.rs b/compiler/rustc_codegen_ssa/src/back/symbol_export.rs index 60ab2919352..f8f7bb2dbc6 100644 --- a/compiler/rustc_codegen_ssa/src/back/symbol_export.rs +++ b/compiler/rustc_codegen_ssa/src/back/symbol_export.rs @@ -293,7 +293,7 @@ fn exported_symbols_provider_local( // external linkage is enough for monomorphization to be linked to. let need_visibility = tcx.sess.target.dynamic_linking && !tcx.sess.target.only_cdylib; - let (_, cgus) = tcx.collect_and_partition_mono_items(()); + let cgus = tcx.collect_and_partition_mono_items(()).codegen_units; // The symbols created in this loop are sorted below it #[allow(rustc::potential_query_instability)] |
