Skip to content

Commit c642b43

Browse files
authored
Update verita config after Anvil migrated to cargo verus (#2616)
1 parent b5da991 commit c642b43

1 file changed

Lines changed: 4 additions & 20 deletions

File tree

tools/verita/run_configuration_all.toml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -123,23 +123,7 @@ rustup target add x86_64-unknown-none --toolchain 1.96.0
123123
name = "anvil"
124124
git_url = "https://github.com/anvil-verifier/anvil"
125125
refspec = "main"
126-
crate_roots = ["src/esr_composition.rs"]
127-
extra_verus_args = ["--crate-type=lib",
128-
"-L", "dependency=src/deps_hack/target/debug/deps",
129-
"--extern=deps_hack=src/deps_hack/target/debug/libdeps_hack.rlib",
130-
"--rlimit", "50",
131-
"--verify-module", "vdeployment_controller", # remove this line to run full verification on all 4 controllers
132-
"-A", "warnings"]
133-
prepare_script = """
134-
pushd src/deps_hack
135-
cargo clean
136-
cargo build
137-
popd
138-
"""
139-
prepare_script_windows = """
140-
$ErrorActionPreference = 'Stop'
141-
Push-Location src/deps_hack
142-
cargo clean
143-
cargo build
144-
Pop-Location
145-
"""
126+
cargo_verus = true
127+
crate_roots = ["."]
128+
# comment this line to run full verification on all 4 controllers and libraries, need ~30mins
129+
extra_verus_args = ["--verify-module", "vdeployment_controller"]

0 commit comments

Comments
 (0)