Skip to content

Commit 4e96a9a

Browse files
committed
Auto merge of #2772 - RalfJung:rustup, r=RalfJung
Rustup
2 parents 20a968c + ad78eff commit 4e96a9a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ci.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function run_tests {
4343
# optimizations up all the way, too).
4444
# Optimizations change diagnostics (mostly backtraces), so we don't check
4545
# them. Also error locations change so we don't run the failing tests.
46-
MIRIFLAGS="${MIRIFLAGS:-} -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
46+
#FIXME: temporarily disabled due to <https://github.com/rust-lang/rust/issues/107511>.
47+
#MIRIFLAGS="${MIRIFLAGS:-} -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
4748

4849
# Also run some many-seeds tests. 64 seeds means this takes around a minute per test.
4950
for FILE in tests/many-seeds/*.rs; do

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ad48c109815a2e9441a7ad7796e55b8771fe01a5
1+
a322848c6b0e037c1f0209387558ecb6ab763714

src/eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
357357
match entry_type {
358358
EntryFnType::Main { .. } => {
359359
let start_id = tcx.lang_items().start_fn().unwrap();
360-
let main_ret_ty = tcx.fn_sig(entry_id).output();
360+
let main_ret_ty = tcx.fn_sig(entry_id).no_bound_vars().unwrap().output();
361361
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
362362
let start_instance = ty::Instance::resolve(
363363
tcx,

0 commit comments

Comments
 (0)