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

Use stable version to install Kani #52

Closed
wants to merge 1 commit into from

Conversation

zhassan-aws
Copy link
Contributor

Description of changes:

The action currently uses cargo install ... to install Kani. If the command is issued from a path that has a rust-toolchain file, this results in cargo using the version specified in the toolchain file to install Kani. However, we should always use stable, as the toolchain version could be too old, which would cause the installation to fail, e.g.

https://github.com/aws/s2n-quic/actions/runs/7467601009/job/20322602354?pr=2085#step:3:292

Resolved issues:

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

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

@camshaft
Copy link

camshaft commented Jan 10, 2024

What about the install-kani.sh script? Isn't the v1 branch (not main) what most new code bases will be pulling from?

@zhassan-aws
Copy link
Contributor Author

Good point. Closing this PR and replacing it with #53 .

@zhassan-aws zhassan-aws deleted the use-stable branch January 10, 2024 00:30
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.

2 participants