Skip to content

Releases: EmbarkStudios/cfg-expr

0.5.0

15 Dec 13:18
Compare
Choose a tag to compare

Changed

  • Updated the builtin target list to Rust 1.47.0

0.4.1

15 Dec 13:17
Compare
Choose a tag to compare

Fixed

  • Removed dbg! prints accidentally left in.

0.4.0

04 Jun 11:43
Compare
Choose a tag to compare

[0.4.0] - 2020-06-04

Added

Changed

  • PR#9 changed the Arch, Vendor, Os, and Env types to no be longer enums, and are instead thin wrappers around strings. This allows for custom targets where one or more components of the target triple are not built-in to rustc. Resolved #8.
  • Changed ParseError to remove the lifetime and just keep an owned string of the expression that failed to parse.
  • Updated the list of built-in rustc targets to 1.43.1.

0.3.0

04 Jun 11:43
Compare
Choose a tag to compare

Changed

  • PR#7 changed Expression::eval to take a Logic trait, to enable evaluation of 'unknown' predicates. Thanks @sunshowers!

0.2.1

04 Jun 11:44
Compare
Choose a tag to compare

Fixed

0.2.0

04 Jun 11:44
Compare
Choose a tag to compare

Added

  • Added targets::rustc_version which can be used to retrieve the version string of the the rustc used to generate the list of targets.

Changed

  • targets::ALL now uses the built-in targets for rustc 1.41.0

0.1.0

04 Jun 11:45
Compare
Choose a tag to compare

Added

  • Initial add of all the things