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

Implement event! and span! as proc macros #186

Closed
wants to merge 1 commit into from

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Jul 13, 2019

Minimally invasive refactoring of the core macros to make room for future expansions of the syntax such as #83. Fixes #133.

I've made only a token effort to identify and delete dead macro_rules macros so far, and I'm uncertain of the correctness of the transcribed macroexpansions, though the tests pass.

We probably want to convert more macros than just these two, as well.

Due to a fixed rustc bug, this requires a very recent nightly.

@bryangarza
Copy link
Member

@Ralith - is this Draft PR abandoned? Should we close it?

@Ralith
Copy link
Collaborator Author

Ralith commented May 6, 2022

Yes, I think the consensus is (quite sensibly) that we don't want to force syn on downstream.

@Ralith Ralith closed this May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tracing: Replace macro-rules with procedural macros
2 participants