Repository navigation
cargo-hax-v0.4.1
·
208 commits
to main
since this release
Fixed
Lean backend and library:
- Fix the calls to generic functions when the generic argument is not present in the signature (#2274)
- Fix the models of hax_lib.int.Int division, remainder and pow2
F* backend and library:
- Fix the model of
Rust_primitives.Hax.Int.div - Make signed division and remainder truncate towards zero as Rust does, a
breaking change sincediv,modand the signedrem_euclidnow require
the quotient to fit in the type (#1459) - Fix
fold_enumerated_sliceandfold_range_step_byby defining instead of assuming
them, and drop the inconsistentRust_primitives.Iterators.foldi_range_step_by - Correct
logand_mask_lemma,get_bit_cast_extendandlemma_get_bit_bounded',
and exclude the sign bit fromnum_bits, all breaking changes - Require
falseon the models ofmem::{uninitialized, zeroed, transmute, transmute_copy}and on the hand-written functions returningt_Never, which
could otherwise inhabit any type - Correct precondition on index for
removeonVec - Remove unsound model of
drainonVec
F* backend and library:
- Apply
rewrite_selfto trait annotations