-
Notifications
You must be signed in to change notification settings - Fork 3
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
panic macro prefix #639
panic macro prefix #639
Conversation
b7ddfab
to
add6f1c
Compare
Note that the linter error is a false positive caused by the downgrade of clang-tidy |
The tests don't build yet: Is this intentionally a draft PR? Or is it actually ready for review? |
As mentioned in the standup, that's an oversight (and then I was side tracked by the second unrelated issue first). I'll submit a fixed PR later, Alex will first submit a PR to fix the linter update issues. |
add6f1c
to
a55526c
Compare
Now should be fixed, except it's not based on a fixed main yet so the linter will still trigger. BTW I forgot to mention the first of the two commits, which introduces TODO (now SILO_TODO), which is the panic macro I actually most in Rust. Meant to be used temporarily while working on a feature. |
This is a preview of the changelog of the next release. If this branch is not up-to-date with the current main branch, the changelog may not be accurate. Rebase your branch on the main branch to get the most accurate changelog. Note that this might contain changes that are on main, but not yet released. Changelog: 0.4.0 (2024-11-14)⚠ BREAKING CHANGES
FeaturesBug Fixes |
Ah and yes, draft was accidental, because Github reused the mode from the last PR. |
a55526c
to
08eb4f4
Compare
To avoid clashing with gtest's `ASSERT_EQ` and potentially more. Prefix all macros at once.
08eb4f4
to
dfef3d5
Compare
Summary
gtest has an
ASSERT_EQ
macro just like panic.h, and maybe there are more clashes. They weren't a problem at first, but with the command line parsing changes some tests now include panic.h and fail. Solve it once and for all by prefixing all the macro names.PR Checklist