From 1e7037d8811ac4993e5c96465f27f7c15c796828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sarek=20H=C3=B8verstad=20Skot=C3=A5m?= <44001885+sarsko@users.noreply.github.com> Date: Tue, 19 Mar 2024 21:48:29 -0700 Subject: [PATCH] Update trace in schedule (#142) --- src/runtime/execution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/execution.rs b/src/runtime/execution.rs index 99a97d8..3d2ee50 100644 --- a/src/runtime/execution.rs +++ b/src/runtime/execution.rs @@ -696,7 +696,7 @@ impl ExecutionState { // Note also that changing this trace! statement requires changing the test `basic::labels::test_tracing_with_label_fn` // which relies on this trace reporting the `runnable` tasks. self.top_level_span - .in_scope(|| trace!(?runnable, next_task=?self.next_task)); + .in_scope(|| trace!(i=self.current_schedule.len(), next_task=?self.next_task, ?runnable)); Ok(()) }