Note, tracy_client now requires that the client has been started before running instrumented code. This can be done via:
tracy_client::Client::start();
at the top of main.
Should I note this new requirement anywhere in the readme or can we expect users of tracy to understand the necessary setup?
tracy_client's new span macro currently panics when the client has not been started (instead of silently doing nothing), so I went ahead and implemented the same behavior here.
Note,
tracy_client
now requires that the client has been started before running instrumented code. This can be done via:at the top of
main
.Should I note this new requirement anywhere in the readme or can we expect users of tracy to understand the necessary setup?
tracy_client
's new span macro currently panics when the client has not been started (instead of silently doing nothing), so I went ahead and implemented the same behavior here.However, there is some discussion about potentially changing this behavior to avoid those panics https://github.com/nagisa/rust_tracy_client/pull/36#issue-1222267892.