You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm often on an old version of rust-mode because I don't get around to recompiling it. Would be nice if it was part of the build. Need to autodetect whatever dependencies it has.
The text was updated successfully, but these errors were encountered:
You should try getting it from MELPA, this will guarantee you get the latest (daily) snapshot, allow you to manage updates and also handle the compilation for you (for all its deps as well).
This is a draft pull request towards solving #19.
## Changes
- Added wrappers for `transmute_unchecked()`
- Annotated these wrappers with contracts
- Wrote harnesses that verify these wrappers
Note: the reason we write wrappers for `transmute_unchecked()` and we
annotate those wrappers is that function contracts do not appear to be
currently supported for compiler intrinsics (as discussed in
[rust-lang#3345](model-checking/kani#3345)). Also,
rather than using a single wrapper for `transmute_unchecked()`, we write
several with different constraints on the input (since leaving the
function parameters completely generic severely restricts what we can do
in the contracts, e.g., testing for equality).
This is not intended to be a complete solution for verifying
`transmute_unchecked()`, but instead a proof of concept to see how
aligned this is with the expected solution. Any feedback would be
greatly appreciated -- thank you!
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
---------
Co-authored-by: AlexLB99 <[email protected]>
I'm often on an old version of rust-mode because I don't get around to recompiling it. Would be nice if it was part of the build. Need to autodetect whatever dependencies it has.
The text was updated successfully, but these errors were encountered: