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

Generate kernel API bindings using rust-bindgen #17

Merged
merged 8 commits into from Mar 28, 2016

Conversation

Projects
None yet
2 participants
@alexander255
Copy link
Contributor

alexander255 commented Mar 27, 2016

+Documentation on why this is a very good idea (read it if you want to know more)

alexander255 added some commits Mar 23, 2016

Add tiny std library and auto-generate the kernel header bindings use…
…d by it

This requires building rust-bindgen (and it's dependency syntex-syntax) for
generating kernel headers on the fly. While this is pretty slow for the initial
build, it is unfortunately necessary to make use of the kernel's API stability
guarantees (or rather missing guarantees):
Kernel data structure field members and ordering can change between minor
versions or even when enabling/disabling kernel configuration parameters with
the exact same kernel code base. Writing meaningful, stable ABI bindings isn't
really feasable under these conditions.
Document all command-line switched used by `make` and drop the *File …
…size* section (as it thankfully does not apply anymore)

@tsgates tsgates merged commit 94040a5 into tsgates:master Mar 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.