File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ function run_tests {
43
43
# optimizations up all the way, too).
44
44
# Optimizations change diagnostics (mostly backtraces), so we don't check
45
45
# 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}
47
48
48
49
# Also run some many-seeds tests. 64 seeds means this takes around a minute per test.
49
50
for FILE in tests/many-seeds/* .rs; do
Original file line number Diff line number Diff line change 1
- ad48c109815a2e9441a7ad7796e55b8771fe01a5
1
+ a322848c6b0e037c1f0209387558ecb6ab763714
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
357
357
match entry_type {
358
358
EntryFnType :: Main { .. } => {
359
359
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 ( ) ;
361
361
let main_ret_ty = main_ret_ty. no_bound_vars ( ) . unwrap ( ) ;
362
362
let start_instance = ty:: Instance :: resolve (
363
363
tcx,
You can’t perform that action at this time.
0 commit comments