about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-24 21:34:55 +0100
committerGitHub <noreply@github.com>2022-11-24 21:34:55 +0100
commit679f1b7892841131efcdb535a7aa579038cfded7 (patch)
tree897b646f80cfd34cfd4f349b2864a40acb9fb70f /compiler/rustc_middle/src
parent4843946a10979e25ce4b26def0d19845e15d5f95 (diff)
parent6c2719a6d6d69dda07332f9f200d5fee19ae0096 (diff)
downloadrust-679f1b7892841131efcdb535a7aa579038cfded7.tar.gz
rust-679f1b7892841131efcdb535a7aa579038cfded7.zip
Rollup merge of #104782 - oli-obk:const_eval_limit_bump, r=pnkfelix
Bump the const eval step limit

fixes https://github.com/rust-lang/rust/issues/103814

https://github.com/rust-lang/rust/pull/103877 has too much of an impact to beta backport. So let's just increase the limit, avoiding the immediate breakage.

r? ``@pnkfelix``
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/middle/limits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/middle/limits.rs b/compiler/rustc_middle/src/middle/limits.rs
index 53c4d926784..12aef66bcf9 100644
--- a/compiler/rustc_middle/src/middle/limits.rs
+++ b/compiler/rustc_middle/src/middle/limits.rs
@@ -38,7 +38,7 @@ pub fn provide(providers: &mut ty::query::Providers) {
             tcx.hir().krate_attrs(),
             tcx.sess,
             sym::const_eval_limit,
-            1_000_000,
+            2_000_000,
         ),
     }
 }