diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-28 09:12:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 09:12:43 -0700 |
commit | a3f982c1d58a4c96377348aae203ab3f2c234729 (patch) | |
tree | 47a2968e50fa80c25b7fd4e8f9edb72f024f895d /cli/lsp/testing/execution.rs | |
parent | c2c4e745a5db4f2e53aa70bf22b6c828fa1b4040 (diff) |
chore(cli): rename `--trace-ops` to `--trace-leaks` (#22598)
As we add tracing to more types of runtime activity, `--trace-ops` is
less useful of a name. `--trace-leaks` better reflects that this feature
traces both ops and timers, and will eventually trace resource opening
as well.
This keeps `--trace-ops` as an alias for `--trace-leaks`, but prints a
warning to the console suggesting migration to `--trace-leaks`.
One test continues to use `--trace-ops` to test the deprecation warning.
---------
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r-- | cli/lsp/testing/execution.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 809d02456..78ee6c7f8 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -296,7 +296,7 @@ impl TestRun { test::TestSpecifierOptions { filter, shuffle: None, - trace_ops: false, + trace_leaks: false, }, )) } @@ -441,7 +441,7 @@ impl TestRun { .iter() .map(|s| s.as_str()), ); - args.push("--trace-ops"); + args.push("--trace-leaks"); if self.workspace_settings.unstable && !args.contains(&"--unstable") { args.push("--unstable"); } |