mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Merge branch 'trunk' of github.com:rtfeldman/roc into no-unnecessary-benches
This commit is contained in:
commit
a1971ead6e
171 changed files with 3848 additions and 4569 deletions
|
@ -36,7 +36,7 @@ fn check_cmd_output(
|
|||
) {
|
||||
let out = run_cmd(
|
||||
file.with_file_name(executable_filename).to_str().unwrap(),
|
||||
stdin_str,
|
||||
&[stdin_str],
|
||||
&[],
|
||||
);
|
||||
|
||||
|
@ -60,7 +60,7 @@ fn bench_cmd<T: Measurement>(
|
|||
b.iter(|| {
|
||||
run_cmd(
|
||||
black_box(file.with_file_name(executable_filename).to_str().unwrap()),
|
||||
black_box(stdin_str),
|
||||
black_box(&[stdin_str]),
|
||||
&[],
|
||||
)
|
||||
})
|
||||
|
@ -68,7 +68,7 @@ fn bench_cmd<T: Measurement>(
|
|||
} else {
|
||||
run_cmd(
|
||||
black_box(file.with_file_name(executable_filename).to_str().unwrap()),
|
||||
black_box(stdin_str),
|
||||
black_box(&[stdin_str]),
|
||||
&[],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue