-
Notifications
You must be signed in to change notification settings - Fork 1k
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 various things so cbindgen
works for Firefox (again 😩)
#7132
Fix various things so cbindgen
works for Firefox (again 😩)
#7132
Conversation
Most important points: - Make macro repetitions easy to parse as a human. - Try to follow `rustfmt` a bit more closely.
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.
Don't like it, but looks good. Can you please remove the last commit so it doens't get rebased on? I'm not sure how github will handle it.
wgpu-types/src/features.rs
Outdated
pub use webgpu_impl::*; | ||
mod webgpu_impl { | ||
//! Constant values for [`super::FeaturesWebGPU`], separated so they can be picked up by | ||
//! `cbindgen` in `mozilla-central` (where Firefix is developed). |
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.
Firefix is the name of firefox's linting tool (typo)
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.
Oop wrong button
921e57e
to
2247842
Compare
2247842
to
4057cc0
Compare
PRs in the last few weeks have regressed Firefox's usage of
cbindgen
, and I'm here to undo the damage without actually reverting them. To wit, I'm aware of these being regressed by:Arc*Descriptors
into*Descriptors
#7056Things still compile and run, so I'm confident things should still work.
Recommended review experience is commit-by-commit. Each individual commit should pass CI! Please merge this with
Rebase and merge
.