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

Automate regeneration of PAM bindings #882

Merged
merged 6 commits into from
Oct 15, 2024

Conversation

bjorn3
Copy link
Collaborator

@bjorn3 bjorn3 commented Oct 15, 2024

And check that they are up to date in CI. This will make it easier to add support for more platforms that each need their own PAM bindings.

Makes #869 easier to implement.

@bjorn3 bjorn3 requested review from rnijveld and removed request for rnijveld October 15, 2024 08:10
@bjorn3 bjorn3 added the freebsd label Oct 15, 2024
@bjorn3 bjorn3 force-pushed the regenerate_pam_bindings branch 6 times, most recently from 9291e6e to d112b87 Compare October 15, 2024 08:21
@bjorn3 bjorn3 marked this pull request as ready for review October 15, 2024 08:35
The tests generated directly by bindgen are useful as they cross-check
the layout computed by the C compiler and by rustc. As they are not
portable they were edited however in a way that basically exactly
reproduces the layout algorithm rustc uses. This makes them ineffective
at finding issues. At the same time they are manually written making
automatic regeneration of the bindings in CI harder.
This will make it easier to compare generated bindings between platforms.
Makefile Outdated Show resolved Hide resolved
@squell squell enabled auto-merge October 15, 2024 13:34
auto-merge was automatically disabled October 15, 2024 13:39

Head branch was pushed to by a user without write access

@squell squell enabled auto-merge October 15, 2024 13:40
@squell squell merged commit 14554f6 into trifectatechfoundation:main Oct 15, 2024
13 checks passed
@bjorn3 bjorn3 deleted the regenerate_pam_bindings branch October 15, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants