Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing-core: Add Dispatch::downgrade() and WeakDispatch #2293

Merged
merged 9 commits into from
Sep 24, 2022

Commits on Sep 20, 2022

  1. tracing-core: Add Dispatch::downgrade() and WeakDispatch

    Allows collectors and subscribers to stash their own `Dispatch`
    without causing a memory leak.
    jswrenn committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    dab4314 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f671eb View commit details
    Browse the repository at this point in the history
  3. rustfmt

    jswrenn committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    f00a6ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03786ca View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Configuration menu
    Copy the full SHA
    ae9514a View commit details
    Browse the repository at this point in the history
  2. more docs

    hawkw committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    4a2dbda View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f5eda9f View commit details
    Browse the repository at this point in the history
  4. fix compilation failure without alloc

    This was creating an `&&'static (dyn Collect + ...)` rather than copying
    the `&'static (dyn Collect + ...)` into the `WeakDispatch` struct, and
    the reference to a static reference to a `dyn Collect + ...` doesn't
    forward trait impls. Removing the `&` un-breaks this.
    hawkw committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    8cba186 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d050ae8 View commit details
    Browse the repository at this point in the history