Skip to content

Commit

Permalink
Merge pull request #439 from Nadrieril/fully-analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored Feb 12, 2025
2 parents c4f3a94 + 4a55f5d commit e62061d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charon-pin
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This is the commit from https://github.com/AeneasVerif/charon that should be used with this version of aeneas.
821fe7c71300e00c23e47ae97de1e8dc4ac91f9d
5651efc286dcee58e8e96be869980a40a26af95c
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions tests/src/borrow-check-negative.borrow-check.out
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[Info ] Imported: tests/llbc/borrow_check_negative.llbc
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 23:12-23:14
Source: 'tests/src/borrow-check-negative.rs', lines 24:12-24:14
[Error] Can't end abstraction 8 as it is set as non-endable
Source: 'tests/src/borrow-check-negative.rs', lines 26:0-32:1
Source: 'tests/src/borrow-check-negative.rs', lines 27:0-33:1
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 40:4-40:11
Source: 'tests/src/borrow-check-negative.rs', lines 41:4-41:11
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 49:12-49:14
Source: 'tests/src/borrow-check-negative.rs', lines 50:12-50:14
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 63:12-63:17
Source: 'tests/src/borrow-check-negative.rs', lines 64:12-64:17
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 78:12-78:17
Source: 'tests/src/borrow-check-negative.rs', lines 79:12-79:17
[Error] Can not apply a projection to the ⊥ value
Source: 'tests/src/borrow-check-negative.rs', lines 89:12-89:15
Source: 'tests/src/borrow-check-negative.rs', lines 90:12-90:15
1 change: 1 addition & 0 deletions tests/src/borrow-check-negative.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ charon-args=--skip-borrowck
//@ [!borrow-check] skip
//@ [borrow-check] known-failure
// Some negative tests for borrow checking
Expand Down
2 changes: 1 addition & 1 deletion tests/src/loops-borrow-check-negative.borrow-check.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[Info ] Imported: tests/llbc/loops_borrow_check_negative.llbc
[Error] Can't end abstraction 16 as it is set as non-endable
Source: 'tests/src/loops-borrow-check-negative.rs', lines 18:0-28:1
Source: 'tests/src/loops-borrow-check-negative.rs', lines 19:0-29:1
1 change: 1 addition & 0 deletions tests/src/loops-borrow-check-negative.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ charon-args=--skip-borrowck
//@ [!borrow-check] skip
//@ [borrow-check] known-failure

Expand Down
4 changes: 4 additions & 0 deletions tests/test_runner/run_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ let run_charon (env : runner_env) (case : Input.t) =
[
env.charon_path;
"--no-cargo";
"--rustc-flag=--crate-type=rlib";
"--rustc-flag=--allow=unused";
"--rustc-flag=--allow=non_snake_case";
"--hide-marker-traits";
"--input";
case.path;
Expand Down Expand Up @@ -146,6 +149,7 @@ let run_charon (env : runner_env) (case : Input.t) =
[
env.charon_path;
"--hide-marker-traits";
"--rustc-flag=--allow=unused";
"--dest";
Filename_unix.realpath env.llbc_dir;
]
Expand Down

0 comments on commit e62061d

Please sign in to comment.