Replies: 1 comment
-
|
I'm converting this into an issue because when I tested again I found that the bug has not been fixed in latest Verus. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When constants are used in the type signature of arguments, external_fn_specification cannot be reliably used.
An example of this is shown in this minimal example. This line attempts to declare
external_fn_specificationfor an external function. However, the following error is returned:I merged commits from the cargo-verus pull request into the main branch to verify the whole crate. The commit hash on main branch is 2996c51. In the case above, it seems like the constant
BLKSIZEis causing the problem, because the issue disappears whenBLKSIZEis replaced by4096usize.Beta Was this translation helpful? Give feedback.
All reactions