about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-14 05:29:55 +0000
committerbors <bors@rust-lang.org>2023-12-14 05:29:55 +0000
commit4a4a8966bd140a0e28d6a26c4e504514f2e7067a (patch)
treec45eac208e30cda04a260493b0b9645faf52d73f /compiler/rustc_codegen_llvm/src/back
parentfda521a988749458326ecef2e92e979077727a4e (diff)
parent7d4f92a309b67a04bcb5729f0420b21812ea8aef (diff)
downloadrust-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/back')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/lto.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs
index abc33a04598..97444f1a5bd 100644
--- a/compiler/rustc_codegen_llvm/src/back/lto.rs
+++ b/compiler/rustc_codegen_llvm/src/back/lto.rs
@@ -816,6 +816,9 @@ impl ThinLTOKeysMap {
         use std::io::Write;
         let file = File::create(path)?;
         let mut writer = io::BufWriter::new(file);
+        // The entries are loaded back into a hash map in `load_from_file()`, so
+        // the order in which we write them to file here does not matter.
+        #[allow(rustc::potential_query_instability)]
         for (module, key) in &self.keys {
             writeln!(writer, "{module} {key}")?;
         }