Skip to content

Commit

Permalink
Use bindgen as a program rather than as a library
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kloenk authored and ojeda committed Nov 28, 2020
1 parent 39484fa commit b91aff3
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 740 deletions.
349 changes: 0 additions & 349 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# TODO: generate automatically
[workspace]
members = [
"rust/shlex",
"rust/module",
"rust/kernel",
"drivers/char/rust_example",
Expand Down
Loading

0 comments on commit b91aff3

Please sign in to comment.