From a3f982c1d58a4c96377348aae203ab3f2c234729 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 28 Feb 2024 09:12:43 -0700 Subject: 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 --- cli/lsp/testing/execution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/lsp') 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"); } -- cgit v1.2.3