Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fully-qualified --package arguments #3593

Merged
merged 5 commits into from
Oct 12, 2024

Conversation

celinval
Copy link
Contributor

We were previously matching the name of the package, which would limit users if the name is ambiguous.

Instead, use cargo pkgid to validate the --package argument and to retrieve the package id.

Resolves #3563

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

We were previously matching the name of the package, which would limit
users if the name is ambiguous.

Instead, use `cargo pkgid` to validate the `--package` argument and to
retrieve the package id.
@celinval celinval marked this pull request as ready for review October 11, 2024 20:14
@celinval celinval requested a review from a team as a code owner October 11, 2024 20:14
Copy link
Contributor

@zhassan-aws zhassan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Some nits.

kani-driver/src/args/cargo.rs Outdated Show resolved Hide resolved
kani-driver/src/call_cargo.rs Outdated Show resolved Hide resolved
kani-driver/src/call_cargo.rs Outdated Show resolved Hide resolved
@celinval
Copy link
Contributor Author

Thanks @zhassan-aws! I love when you suggest changes... it makes my life much easier. 😃

@celinval celinval added this pull request to the merge queue Oct 12, 2024
Merged via the queue into model-checking:main with commit 5e67b63 Oct 12, 2024
27 checks passed
@joshlf
Copy link

joshlf commented Oct 12, 2024

Thanks for fixing this! Any idea when this will be released on crates.io?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support fully-qualified --package arguments
3 participants