[][src]Function cranelift_reader::parse_test

pub fn parse_test<'a>(
    text: &'a str,
    passes: Option<&'a [String]>,
    target: Option<&str>
) -> ParseResult<TestFile<'a>>

Parse the entire text as a test case file.

The returned TestFile contains direct references to substrings of text.