Add isolated IRC11 toolchain CI - #708
Conversation
This solves my previous concern. But I have another question: if the proof code is merged, can I still verify VOSTD with main branch Verus? |
|
Not as-is. The weak-memory proofs directly depend on IRC11-specific vstd APIs, so main-branch Verus cannot resolve or type-check them. To preserve compatibility, we need to feature-gate the weak-memory proofs, keep the existing SC path as the default, and verify both configurations in separate CI jobs. |
Marsman1996
left a comment
There was a problem hiding this comment.
To preserve compatibility, we need to feature-gate the weak-memory proofs
Then I guess this is a good start,
hope Verus could merge the IRC11 branch soon.
|
And can the patches here be merged into the upstream Verus |
The patches apply to the asterinas' fork of Verus; if needed we can use |
Are these patches general enough that we could eventually submit them as PRs to the upstream Verus repository, or are they specifically designed for Asterinas? |
These patches were cherry-picked from IRC11 to make Asterinas' fork of verus work so there is no need to submit individual PRs for Verus. |
Sorry for the mistake, I thought they are for the upstream Verus... |
|
After thinking about it, I think maintaining these patches in Asterinas' fork of Verus is reasonable. Since Verus's Revert the latest commit and this PR is good to me |
This reverts commit 1afcc0a.
This is the first step toward incrementally integrating weak-memory support into vostd. The existing toolchain and verification CI remain unchanged, so the current OSTD/RCU verification path is not affected.
--vstd-weak-memory.