Skip to content

Commit 9012c2f

Browse files
committed
Try disabling function unfolding triggers.
1 parent e6e40f4 commit 9012c2f

File tree

11 files changed

+29
-0
lines changed

11 files changed

+29
-0
lines changed

prusti-server/src/verification_request.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ impl ViperBackendConfig {
4242
if config::use_more_complete_exhale() {
4343
verifier_args.push("--enableMoreCompleteExhale".to_string());
4444
}
45+
if config::disable_function_unfold_trigger() {
46+
verifier_args.push("--disableFunctionUnfoldTrigger".to_string());
47+
}
4548
if config::counterexample() {
4649
verifier_args.push("--counterexample".to_string());
4750
verifier_args.push("mapped".to_string());

prusti-tests/tests/verify/fail/demos/append-sorted-error-3.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(box_patterns, box_syntax)]
24
use prusti_contracts::*;
35

prusti-tests/tests/verify/fail/pure-fn/wrong-quantifiers.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(nll)]
24
#![feature(box_patterns)]
35
#![feature(box_syntax)]

prusti-tests/tests/verify/pass/gitlab-issues/issue-39.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
//! Issue #39 "Suspicious `_old_old_1` variable name"
24
35
#![feature(nll)]

prusti-tests/tests/verify/pass/larger/first-final.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(box_patterns)]
24

35
//! An adaptation of the example from

prusti-tests/tests/verify/pass/magic-wands/from_nth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(box_patterns)]
24

35
use prusti_contracts::*;

prusti-tests/tests/verify/pass/paper-examples/routes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(box_syntax, box_patterns)]
24

35
use prusti_contracts::*;

prusti-tests/tests/verify/pass/pure-fn/len-lookup.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(nll)]
24
#![feature(box_patterns)]
35
#![feature(box_syntax)]

prusti-tests/tests/verify/pass/pure-fn/quantifiers.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(nll)]
24
#![feature(box_patterns)]
35
#![feature(box_syntax)]

prusti-tests/tests/verify/pass/quick/routes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Pdisable_function_unfold_trigger=false
2+
13
#![feature(box_syntax, box_patterns)]
24

35
use prusti_contracts::*;

0 commit comments

Comments
 (0)