Skip to content

Commit

Permalink
Disable recursive function call checking because it crashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vakaras committed Jul 19, 2023
1 parent 0aeb4a3 commit 1d11890
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prusti-interface/src/environment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ impl<'tcx> Environment<'tcx> {
.resolve_instance(param_env.and((called_def_id, call_substs)))
.unwrap()
{
self.tcx()
.mir_callgraph_reachable((instance, caller_def_id.expect_local()))
// FIXME: This call panics due to stolen MIR. Therefore, we
// unsoundly assume that the callee is not reachable.
// self.tcx()
// .mir_callgraph_reachable((instance, caller_def_id.expect_local()))
false
} else {
true
}
Expand Down

0 comments on commit 1d11890

Please sign in to comment.