MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / parse_cmdline_passes

Method parse_cmdline_passes

cranelift/reader/src/parser.rs:1017–1023  ·  view source on GitHub ↗

Parse a list of test command passes specified in command line.

(&mut self, passes: &'a [String])

Source from the content-addressed store, hash-verified

1015
1016 /// Parse a list of test command passes specified in command line.
1017 pub fn parse_cmdline_passes(&mut self, passes: &'a [String]) -> Vec<TestCommand<'a>> {
1018 let mut list = Vec::new();
1019 for pass in passes {
1020 list.push(TestCommand::new(pass));
1021 }
1022 list
1023 }
1024
1025 /// Parse a list of test commands.
1026 pub fn parse_test_commands(&mut self) -> Vec<TestCommand<'a>> {

Callers 1

parse_testFunction · 0.80

Calls 2

newFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected