Skip to content

Commit b91aff3

Browse files
kloenkojeda
authored andcommitted
Use bindgen as a program rather than as a library
This allows us to remove the `kernel` `build.rs` script and simplifies the build. `Cargo.lock` is tiny now. The shlex dependency also goes away. Note that this commit does *not* use the list of included functions/types/vars etc., so it is not equivalent. Signed-off-by: Finn Behrens <me@kloenk.de> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 39484fa commit b91aff3

File tree

11 files changed

+16
-740
lines changed

11 files changed

+16
-740
lines changed

Diff for: Cargo.lock

-349
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# TODO: generate automatically
44
[workspace]
55
members = [
6-
"rust/shlex",
76
"rust/module",
87
"rust/kernel",
98
"drivers/char/rust_example",

0 commit comments

Comments
 (0)