pub fn eval(spec_or_triple: &str, platform: &str) -> Result<Option<bool>, Error> {
    let target_spec = spec_or_triple.parse::<TargetSpec>()?;
    let platform = Platform::new(platform.to_owned(), TargetFeatures::Unknown)?;
    Ok(target_spec.eval(&platform))
}
Evaluates the given spec against the provided target and returns `Some(true)` on a successful
match, and `Some(false)` on a failing match.

This defaults to treating target features as unknown, and returns `None` if the overall result
is unknown.

For more advanced uses, see [`TargetSpec::eval`].

For more information, see the crate-level documentation.
target-spec/src/simple_eval.rs