Skip to content

Conversation

W95Psp
Copy link
Member

@W95Psp W95Psp commented Sep 3, 2025

This PR adds guidelines for hax.

@W95Psp W95Psp requested a review from a team as a code owner September 3, 2025 10:03
Copy link
Contributor

@karthikbhargavan karthikbhargavan left a comment

Choose a reason for hiding this comment

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

I would give a bit more structure to this to try and explain the workflow of programming with proofs. Let me give that a shot later today or early tomorrow.

@W95Psp
Copy link
Member Author

W95Psp commented Sep 3, 2025

Sounds good to me, thank you!

CONTRIBUTING.md Outdated
### Hax Guidelines
- Always use the **same version** of the `hax-lib` Cargo dependency throughout the entire workspace. Inconsistencies can lead to build or verification issues (see [issue #1125](https://github.com/cryspen/libcrux/issues/1125)).
- This repository uses a [Makefile](./fstar-helpers/Makefile.generic) for F\* verification, which relies on Cargo and the workspace's version of `hax-lib` to locate F\* libraries. Specifically, those under the [`proof-libs` directory in hax-lib](https://github.com/cryspen/hax/tree/main/hax-lib/proof-libs).
- If you need to work with a specific version of `hax-lib` or `proof-libs`, update the `hax-lib` dependency in the workspace's `Cargo.toml`.
Copy link
Member

Choose a reason for hiding this comment

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

How do I install the correct version?

@franziskuskiefer
Copy link
Member

What's the state here? Shall we get this in?

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.

3 participants