hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.8K
active users

lol code coverage marks all my tracing::trace! statements as not covered because, well, I don't run tests with RUST_LOG=trace

which way would you go to solve that?

@fasterthanlime either run with trace, or compile the trace level out at compile time for tests

it’s either a cargo feature or a cfg string for tracing

@brk @fasterthanlime yeah the latter is what i'd do, and a second non-code-coverage test run with tracing enabled because i'm super paranoid about "oops that panic only happens when constructing trace logs"