All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
target_os = "none"
was not matching target triplets where os = None
. Thanks @sunshowers!abi
, which is currently nightly only, but should have no affect on stable. Thanks @carols10cents!has_target_atomic = "<ptr | integer>"
and panic = "<strategy>"
predicates. Thanks @sunshowers!TargetInfo
, Os
, Arch
, Env
, and Vendor
to use a Cow<'static, str>
to avoid the need for lifetime parameters for the common case of statically known target information, but still support arbitrary/future variants. Thanks @sunshowers!1.54.0
, which notably includes the addition of the new wasm
variant to target_family
. Thanks @sunshowers!msrv
so clippy lints are consistent across environments. Thanks @remilauzier!Expression::original
to get the original string the expression was parsed from. Thanks @gdesmott!PartialEq
implementation for Expression
, primarily for cases where an Expression
is stored in a type that itself requires PartialEq
. This is only a simple syntactical equality check. Thanks @gdesmott!uclibceabi
environment added for one target in rust 1.50.0.android
targets to have the gnu
environment, where previously, it was unspecified.dbg!
prints accidentally left in.targets
feature, which allows matching the various target_
predicates against a target_lexicon::Triple
.Arch
, Vendor
, Os
, and Env
types to not 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.ParseError
to remove the lifetime and just keep an owned string of the expression that failed to parse.Expression::eval
to take a Logic
trait, to enable evaluation of ‘unknown’ predicates. Thanks @sunshowers!targets::rustc_version
which can be used to retrieve the version string of the rustc used to generate the list of targets.targets::ALL
now uses the built-in targets for rustc 1.41.0