about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-05 09:49:10 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-09 18:39:43 +0000
commitf0b5820fa5b29d840e700ee5d760b55d291311c3 (patch)
tree20d2ab7668e77d499dd7aaf34d93e84509db39e3 /compiler/rustc_codegen_cranelift/src
parent7f5af72e64ec08addd1398c7b809f149f5ff57c5 (diff)
downloadrust-f0b5820fa5b29d840e700ee5d760b55d291311c3.tar.gz
rust-f0b5820fa5b29d840e700ee5d760b55d291311c3.zip
Fix review comments
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
-rw-r--r--compiler/rustc_codegen_cranelift/src/driver/aot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/driver/aot.rs b/compiler/rustc_codegen_cranelift/src/driver/aot.rs
index aaead1ffc5f..49f51f9f956 100644
--- a/compiler/rustc_codegen_cranelift/src/driver/aot.rs
+++ b/compiler/rustc_codegen_cranelift/src/driver/aot.rs
@@ -412,7 +412,7 @@ pub(crate) fn run_aot(
                         )
                         .0
                 }
-                CguReuse::PreLto => unreachable!(),
+                CguReuse::PreLto => unreachable!("LTO not yet supported"),
                 CguReuse::PostLto => {
                     concurrency_limiter.job_already_done();
                     OngoingModuleCodegen::Sync(reuse_workproduct_for_cgu(tcx, cgu))