nushell/crates/nu-test-support/src
Devyn Cairns 215ca6c5ca
Remove the NU_DISABLE_IR option (#14293)
# Description

Removes the `NU_DISABLE_IR` option and some code related to evaluating
blocks with the AST
evaluator.

Does not entirely remove the AST evaluator yet. We still have some
dependencies on expression
evaluation in a few minor places which will take a little bit of effort
to fix.

Also changes `debug profile` to always include instructions, because the
output is a little
confusing otherwise, and removes the different options for
instructions/exprs.

# User-Facing Changes

- `NU_DISABLE_IR` no longer has any effect, and is removed. There is no
way to use the AST
  evaluator.
- `debug profile` no longer has `--exprs`, `--instructions` options.
- `debug profile` lists `pc` and `instruction` columns by default now.

# Tests + Formatting

Eval tests fixed to only use IR.

# After Submitting

- [ ] release notes
- [ ] finish removing AST evaluator, come up with solutions for the
expression evaluation.
2024-11-15 12:09:25 +08:00
..
playground Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00
commands.rs Exclude polars from ensure_plugins_built(), for performance reasons (#12896) 2024-05-17 15:04:59 +00:00
fs.rs Path migration part 4: various tests (#13373) 2024-08-03 10:09:13 +02:00
lib.rs Attempt to guess the content type of a file when opening with --raw (#13521) 2024-08-06 11:36:24 +02:00
locale_override.rs Remove once_cell dependency from nu-test-support create. (#8568) 2023-03-22 19:36:52 +01:00
macros.rs Remove the NU_DISABLE_IR option (#14293) 2024-11-15 12:09:25 +08:00
playground.rs Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00