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: fix macro log support #304

Merged
merged 6 commits into from
Aug 30, 2019
Merged

tracing: fix macro log support #304

merged 6 commits into from
Aug 30, 2019

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Aug 30, 2019

#288 introduced a regression that causes infinite macro recursion when
the log feature is enabled. This PR fixes it (by making the macros
significantly worse).

I've also added a new test step that runs with --all-features, since
apparently CI doesn't already do this.

Fixes #303

@hawkw hawkw added kind/bug Something isn't working crate/tracing Related to the `tracing` crate labels Aug 30, 2019
@hawkw hawkw requested review from jonhoo, yaahc and a team August 30, 2019 00:10
@hawkw hawkw self-assigned this Aug 30, 2019
@hawkw
Copy link
Member Author

hawkw commented Aug 30, 2019

CI is broken for this branch due to an unrelated issue with the nightly-only examples that I have yet to figure out.

Perhaps that build should be allowed to fail...

hawkw added 6 commits August 30, 2019 11:06

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
turns out it is no longer necessary to match empty out sets separately
if we are more lenient about commas being wherever...

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw force-pushed the eliza/fix-macro-log-support branch from 511208f to 4826c60 Compare August 30, 2019 18:06
@jonhoo
Copy link
Contributor

jonhoo commented Aug 30, 2019

I think you mean "fixes #303"

@hawkw
Copy link
Member Author

hawkw commented Aug 30, 2019

I think you mean "fixes #303"

whoops, yeah, I do. fixed it!

@hawkw hawkw merged commit 90dbae6 into master Aug 30, 2019
hawkw added a commit that referenced this pull request Aug 30, 2019
Changed:

- New (curly-brace free) event message syntax to place the message in
  the first field rather than the last (#309)

Fixed:

- Fixed a regression causing macro stack exhaustion when the `log`
  feature flag is enabled (#304)

Signed-off-by: Eliza Weisman <[email protected]>
hawkw added a commit that referenced this pull request Aug 30, 2019
Changed:

- New (curly-brace free) event message syntax to place the message in
  the first field rather than the last (#309)

Fixed:

- Fixed a regression causing macro stack exhaustion when the `log`
  feature flag is enabled (#304)

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw deleted the eliza/fix-macro-log-support branch September 4, 2019 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate/tracing Related to the `tracing` crate kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression for macro stack use in 0.1.6
3 participants