Giter VIP home page Giter VIP logo

Comments (6)

hawkw avatar hawkw commented on August 16, 2024

I believe @Ralith is working on this. My understanding is that it is currently blocked on dtolnay/syn#661.

from tracing.

Ralith avatar Ralith commented on August 16, 2024

I believe @Ralith is working on this. My understanding is that it is currently blocked on dtolnay/syn#661.

This is accurate. If that issue can be fixed, I am otherwise very close to a working prototype of event!().

I think the new macros could live in the existingtracing-proc-macros or tracing-macros crates. Perhaps we should use tracing-macros and move everything currently in tracing-proc-macros there (and rewrite or remove the macros currently in tracing-macros, which are very experimental).

These macros will necessarily rely on proc-macro-hack, which means that they can't be used by downstream code directly from the crate they're implemented in; an intermediate re-exporting crate is always necessary. My understanding is that tokio(-proc)-macros are intended to be user-facing, so we'll still need an internal -impl crate.

from tracing.

Ralith avatar Ralith commented on August 16, 2024

Looks like it might not be a syn issue: dtolnay/proc-macro-hack#34

from tracing.

Ralith avatar Ralith commented on August 16, 2024

Now isolated to a compiler issue: rust-lang/rust#62325

from tracing.

hawkw avatar hawkw commented on August 16, 2024

Thanks for keeping us updated, @Ralith --- great to hear that progress is being made on unblocking this!

from tracing.

hawkw avatar hawkw commented on August 16, 2024

Looks like the compiler bug has been fixed in rust-lang/rust#62393, so hopefully we can move forwards with this once the fix is on stable.

from tracing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.