Split auxv header into its own module#162
Conversation
|
This sounds reasonable. The CI failure looks to be due to the generated files not being updated. Could you run the gen program and update this PR? Another reason a lot of things are bunched in the |
I did try but I must be doing something wrong or there is some inconsitencies with the generation because I tried multiple times and I always get the same output. I am not sure why the ci is generating something different.
Contributing a few times to this project made me realize we could make much better use of bindgen features and refactor the codegen a lot. I was planning to work on something of that nature but I am still unsure on what the best approach is. |
5897655 to
afcc29b
Compare
|
I rebased to main and regenerated the bindings. Hopefully it should work now. It also seems I have caught some stray changes from a previous pr that wasn't correctly updated |
|
The bindgen output seems to be sensitive to the version of clang installed. The CI is using clang-22. |
|
On further consideration, I think this makes enough sense that I'm just going to merge it and regenerate the files separately. |
|
This is now released in linux-raw-sys 0.11.0. |
As the title says. This PR splits up the auxv header into its own module. This seems trivial but it has ended up helping me a lot in some projects for several reasons.
Implementing this made me realize that there are other modules bunched up in the general.h that could ideally be separate modules, but it would get really crowded if all of those modules had their own feature. Not sure if it's worth opening an issue to discuss that.