Skip to content

Releases

v0.3.0-beta.4

v0.3.0-beta.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 04:54
b3d6880

Other

  • restore each refusal with its fix, and correct sentences against the code (#93)

v0.3.0-beta.3

v0.3.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Dec 23:50
e2c6844

Other

  • give each subject of the documentation one home (#92)
  • state each fact of the documentation once (#90)

v0.3.0-beta.2

v0.3.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:48
80fb4b5

Added

  • the reference as chapters of docs/ in puns::reference, with fixes of zeroed and of refusals (#62)

Fixed

  • the pointee of a shared aim waits for the loops of a check of its own (#85)

Other

  • the stack of a check, measured on x86-64 and aarch64 (#86)
  • [breaking] a pointer gives its pointee the metadata of a Rust pointer, not a size in bytes (#84)

v0.3.0-beta.1

v0.3.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:39
6c3751e

Added

  • [breaking] Error::Validity says where the check fails (#79)
  • the pointees of eager aims form a tree in the order of a copy, unless an aim is shared (#78)
  • the check of eager aims follows pointees at any depth, with a loop per type (#73)
  • [breaking] aims, values at a place of the checked bytes that a struct points at (#72)
  • assume, and check when compiling, the layout that rustc gives enums of the Rust representation (#71)
  • tuples of up to 12 elements, and packed unions (#70)

Fixed

  • a check in a const takes the loops of its pointees before 128 frames (#82)
  • the only aim of a struct that ends with its tail takes nothing from the budget of bytes (#83)
  • a pointee at the cursor takes nothing from the budget of bytes (#81)
  • the parts of the check stop no data that nearest writes (#77)
  • the identity of a derived type is a literal of its crate as rustc tells crates apart (#74)
  • a generic type that derives Pun has an identity made of its parameters (#69)
  • a usize::MAX named through ::core no longer chooses a verdict (#68)
  • measure the offsets of a repr(C) struct of any size (#66)

Other

  • remove check, the worklist, the read for stacked borrows and lazy pointers (#75)
  • pin Rust 1.99.1, the minimum version, and test the derive on 1.100 (#76)

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:53
5ce6f30

Fixed

  • no path of #[pun(crate = ..)] chooses what a layout is made of (#63)

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 06:57
ac03e0b

Fixed

  • the derive measures the offsets of fields on the item as compiled (#61)
  • the derive names each field type once and checks it against the item as compiled (#58)
  • the tags of an enum with fields are those of the enum (#57)
  • a union proven by a field through a requirement is checked past that field (#56)
  • a rule that loads a field reads it, in a union that a later field proves (#55)
  • the check of a string reads no padding past where the analysis stopped (#54)
  • a part left to the compiler that is not proven is checked only from initialized bytes (#53)
  • a period of an array does not cut an enum of the target (#51)

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:22
011c015

Fixed

  • a union of a source may hold a value even if none of its fields has one (#49)
  • a slice of elements without values is valid only if it is empty (#48)
  • a struct that ends with an unsized struct without values has no value (#47)
  • the empty string of a target string type is proven only if its automaton accepts it (#46)

Other

  • a plain quote for the note of the README, and a CI badge of main (#50)
  • compile-fail cases for two refused enums and for the checks of the discovery (#45)
  • a call of a field, an Option whose None takes the tag of a variant; drop one case (#44)
  • compile-fail cases for the functions and the refusals that had none (#43)
  • a bool of an array proven over padding by the niche of the first (#41)

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:34
b6b3e30

Fixed

  • do not prove an array from the niche in its first element (#37)
  • read nothing of a variant that has no value (#38)
  • refuse a check that would read uninitialized bytes of a part that is proven (#39)

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:09
900a19b

Other

  • share repeated code, and fix docs that drifted from it (#36)
  • how puns is written (#34)

v0.2.0-beta.3

v0.2.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 23:36
149f6ac

Added

  • an Option of a scalar that a pun never makes, and validate_but_never at any address (#33)
  • [breaking] replace self-relative pointers with scalars that a pun never makes (#30)

Other

  • the tests of the text of the documentation do not run under Miri (#31)