diff options
| author | bors <bors@rust-lang.org> | 2023-12-14 05:29:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-14 05:29:55 +0000 |
| commit | 4a4a8966bd140a0e28d6a26c4e504514f2e7067a (patch) | |
| tree | c45eac208e30cda04a260493b0b9645faf52d73f /compiler/rustc_codegen_llvm/src/coverageinfo | |
| parent | fda521a988749458326ecef2e92e979077727a4e (diff) | |
| parent | 7d4f92a309b67a04bcb5729f0420b21812ea8aef (diff) | |
| download | rust-4a4a8966bd140a0e28d6a26c4e504514f2e7067a.tar.gz rust-4a4a8966bd140a0e28d6a26c4e504514f2e7067a.zip | |
Auto merge of #3224 - rust-lang:rustup-2023-12-14, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs index 51df14df644..33bfde03a31 100644 --- a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs +++ b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs @@ -58,6 +58,11 @@ pub fn finalize(cx: &CodegenCx<'_, '_>) { return; } + // The entries of the map are only used to get a list of all files with + // coverage info. In the end the list of files is passed into + // `GlobalFileTable::new()` which internally do `.sort_unstable_by()`, so + // the iteration order here does not matter. + #[allow(rustc::potential_query_instability)] let function_coverage_entries = function_coverage_map .into_iter() .map(|(instance, function_coverage)| (instance, function_coverage.into_finished())) |
