Skip to content

cargo-hax-v0.4.2

Choose a tag to compare

@github-actions github-actions released this 01 Oct 08:48
· 145 commits to main since this release
5ccf89d

Fixed

Changes to the hax-lib crate:

  • Support refine and order behind cfg_attr in #[hax_lib::attributes] (#1496)
  • Reject overlapping refines or orders on a field

Added

Lean backend and library:

  • Add models of RangeBounds, copy_within on slices and drain on Vec

F* backend and library:

  • Add models of RangeBounds, copy_within on slices and drain on Vec,
    with preconditions for the ranges on which Rust panics

Changed

Lean backend and library:

  • Add an exhausted field to RangeInclusive

F* backend and library:

  • Add an f_exhausted field to RangeInclusive
  • Breaking: Core_models.Ops.Range.impl to impl_4 are now the RangeBounds
    instances, with the Iterator instances of Range moving to impl_5 to
    impl_16