MCPcopy Create free account
hub / github.com/hashintel/hash / run

Function run

libs/@local/hashql/compiletest/src/runner/cli.rs:185–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183
184#[expect(clippy::exit, clippy::print_stderr)]
185pub fn run() {
186 let cli = Cli::parse();
187
188 let runner = Runner {
189 filter: cli.filter,
190 quick_filter: cli.quick_filter,
191 };
192
193 match runner.execute(cli.command.into()) {
194 Ok(exit) => {
195 exit.exit_process();
196 }
197 Err(error) => {
198 eprintln!("error: {error}");
199 std::process::exit(1);
200 }
201 }
202}

Callers 9

bench_with_envFunction · 0.50
bench_latticeFunction · 0.50
bench_analysisFunction · 0.50
bench_simplifyFunction · 0.50
bench_inferenceFunction · 0.50
mainFunction · 0.50
determine_block_defMethod · 0.50
precompute_find_defMethod · 0.50
mainFunction · 0.50

Calls 2

parseFunction · 0.50
executeMethod · 0.45

Tested by 1

mainFunction · 0.40