Skip to content

cargo-hax-v0.4.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 14:26
· 208 commits to main since this release
8d6a418

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 since div, mod and the signed rem_euclid now require
    the quotient to fit in the type (#1459)
  • Fix fold_enumerated_slice and fold_range_step_by by defining instead of assuming
    them, and drop the inconsistent Rust_primitives.Iterators.foldi_range_step_by
  • Correct logand_mask_lemma, get_bit_cast_extend and lemma_get_bit_bounded',
    and exclude the sign bit from num_bits, all breaking changes
  • Require false on the models of mem::{uninitialized, zeroed, transmute, transmute_copy} and on the hand-written functions returning t_Never, which
    could otherwise inhabit any type
  • Correct precondition on index for remove on Vec
  • Remove unsound model of drain on Vec

F* backend and library:

  • Apply rewrite_self to trait annotations