mirror of
https://github.com/nushell/nushell.git
synced 2025-08-03 11:27:49 +02:00
a recent addition must have removed the `create_default_context` command from `nu_command`, which breaks the benchmarks 😮 ## before this PR ```bash cargo check --all-targets --workspace ``` gives a bunch of ```bash error[E0425]: cannot find function `create_default_context` in crate `nu_command` --> benches/benchmarks.rs:93:48 | 93 | let mut engine_state = nu_command::create_default_context(); | ^^^^^^^^^^^^^^^^^^^^^^ not found in `nu_command` | help: consider importing this function | 1 | use nu_cmd_lang::create_default_context; | help: if you import `create_default_context`, refer to it directly | 93 - let mut engine_state = nu_command::create_default_context(); 93 + let mut engine_state = create_default_context(); | ``` and `cargo bench` does not run... ## with this PR ```bash cargo check --all-targets --workspace ``` is not happy and the benchmarks run again with `cargo bench` --------- Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>