You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# Linux kernel modules in safe Rust
2
2
3
-
1. Install [cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild) and the `rust-src``rustup` component:
3
+
1.Make sure you have Rust installed, as well as [LLVM/Clang 3.9 or higher](https://github.com/rust-lang/rust-bindgen/issues/1316) and kernel headers. Install [cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild) and the `rust-src` and `rustfmt` components for`rustup` component:
4
4
5
5
```
6
+
apt-get install llvm clang linux-headers-"$(uname -r)" # or the equivalent for your OS
0 commit comments