Steven Fackler

Results 229 comments of Steven Fackler

If you have an `OpenSpan` and want to fully transfer it to the other thread, you can use the `detach` and `attach` methods: ```rust let span = my_tracer.next_span() .with_name("background-thingy") .detach();...

No, attaching and detaching doesn't discard any state. The only thing it changes is if the OpenSpan acts as a CurrentGuard in addition.

Detach consumes the old OpenSpan by value and returns a new one with the span's state.

Ah - I've looked into things a bit more - Circle's caching *does* preserve mtimes, but I was only caching ~/.cargo/registry/cache but not ~/.cargo/registry/src. It seems like unifying the special...

The backtrace crate just reads out the debuginfo that the compiler places in the binary. That's what needs to change.

The documentation states useful properties that code working with partial equality can assume. I don't think it is necessary or even particularly useful to guard against every hypothetically possible malicious...

`__private_api_log_lit` can be re-added in a correct manner by using https://doc.rust-lang.org/stable/std/fmt/struct.Arguments.html#method.as_str. The crate would either have to bump its MSRV to 1.52 or do some conditional compilation with a build...