[−][src]Function target_spec::eval
pub fn eval(spec_or_triple: &str, target: &str) -> Result<bool, EvalError>
Evaluates the given spec against the provided target and returns true on a successful match.
For more information, see the crate-level documentation.