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

Fix various things so cbindgen works for Firefox (again 😩) #7132

Merged

Conversation

ErichDonGubler
Copy link
Member

@ErichDonGubler ErichDonGubler commented Feb 13, 2025

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:

Things 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.

@ErichDonGubler ErichDonGubler self-assigned this Feb 13, 2025
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner February 13, 2025 23:20
Copy link
Member

@cwfitzgerald cwfitzgerald left a 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.

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).
Copy link
Member

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)

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oop wrong button

@ErichDonGubler ErichDonGubler enabled auto-merge (rebase) February 14, 2025 17:07
@ErichDonGubler ErichDonGubler merged commit eea3dde into gfx-rs:trunk Feb 14, 2025
34 checks passed
@ErichDonGubler ErichDonGubler deleted the fix-cbindgen-again-ugh branch February 14, 2025 17:18
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.

2 participants