-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
fix(udp): feature flag tracing in windows.rs #1932
Conversation
quinn-udp v0.5.3 introduces a compile time error on Windows. This will be fixed with quinn-rs/quinn#1932. To unblock CI in the meantime, exclude v0.5.3.
Not sure what your policy towards Again, sorry for the trouble. |
🤦 another mistake. Too late in the evening for me. Will push a commit in a minute. |
8712910 made `tracing` optional and added optional `log`, but forgot to update `quinn-udp/src/windows.rs`. This commit fixes the oversight and bumps the `quinn-udp` version to `v0.5.4`.
4f00f6e
to
b010adf
Compare
Alright, this should be it. For the record, compiling with all feature combinations:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thanks! No worries about the error, it happens.
A good follow-up item might be to avoid the fragile and verbose duplicate conditionals by introducing some internal facade macros that dispatch to tracing or log or nothing as appropriate.
Published. |
That sounds good to me. rustls has something like this which we can probably just copy over. |
quinn-udp v0.5.3 introduces a compile time error on Windows. This will be fixed with quinn-rs/quinn#1932. To unblock CI in the meantime, exclude v0.5.3.
Looking into this now. |
8712910 made
tracing
optional and added optionallog
, but forgot to updatequinn-udp/src/windows.rs
. This commit fixes the oversight and bumps thequinn-udp
version tov0.5.4
.Discovered in mozilla/neqo#2002.
I assume that this is not an issue for most
quinn
users as they don't runquinn-udp
withdefault-features = false"
.I am sorry for the oversight. I can look into a GitHub CI workflow that prevents this in the future tomorrow.