Skip to content

Commit 1cd0c01

Browse files
authored
Use unique identifier for --package option of cargo creusot (#2041)
2 parents 72e3c2f + 6c12660 commit 1cd0c01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cargo-creusot/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn invoke_cargo(
116116
.env("CARGO_CREUSOT", "1");
117117

118118
for package in packages {
119-
cmd.args(["-p", &package.name]);
119+
cmd.args(["-p", &package.id.to_string()]);
120120
}
121121

122122
// Incremental compilation causes Creusot to not see all of a crate's code

0 commit comments

Comments
 (0)