Skip to content

Ryn 0.1.1

Choose a tag to compare

@v3nn7 v3nn7 released this 07 Oct 17:26
· 84 commits to main since this release

Ryn 0.1.1 is a correctness update.

  • Copyable method receivers used in a when / else when condition, a for range bound, or a for ... in collection are evaluated before the condition. Previously the temporary was emitted into the first statement of the branch or loop body, so a condition such as when first(V::ZERO.add(V::ONE)) != 1 could read an uninitialized value and take the wrong branch.
  • Raw pointers and function pointers can be compared with == and !=.
  • An integer literal range start takes the end bound's type, so for i in 0..items.count() type-checks when count() returns u64.

The Windows x86_64 archive is attached; the Linux archive is added by the release workflow.