Enum cranelift_reader::Feature [−][src]
Expand description
A cranelift feature in a test file preamble.
This represents the expectation of the test case. Before running any of the functions of the test file, the feature set should be compared with the feature set used to compile Cranelift. If there is any differences, then the test file should be skipped.
Variants
With(&'a str)
Tuple Fields
0: &'a str
feature "..."
lines
Without(&'a str)
Tuple Fields
0: &'a str
feature ! "..."
lines.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Feature<'a>
impl<'a> UnwindSafe for Feature<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.