@@ -42,26 +42,26 @@ release. Please report a bug (or better yet, send in a patch!) if your
42
42
kernel doesn't work.
43
43
44
44
Other architectures aren't implemented yet, but should work as long as
45
- there's Rust and LLVM support - see [ #112 ]
46
- (https://github.com/fishinabarrel/linux-kernel-module-rust/issues/112 )
45
+ there's Rust and LLVM support - see [ #112 ] [ ]
47
46
for expected status. They'll need src/c_types.rs ported, too.
48
47
49
48
You'll need to have [ Rust] ( https://www.rust-lang.org ) - in particular
50
49
Rust nightly, as we use [ some unstable
51
50
features] ( https://github.com/fishinabarrel/linux-kernel-module-rust/issues/41 ) -
52
51
and [ Clang] ( https://clang.llvm.org ) installed. You need LLVM/Clang 9
53
52
(released September 2019) or higher for multiple reasons, primarily
54
- [ support for ` asm goto ` ]
55
- (https://github.com/fishinabarrel/linux-kernel-module-rust/issues/123 ).
56
- If you're on Debian, Ubuntu, or a derivative, https://apt.llvm.org is
57
- great.
53
+ [ support for ` asm goto ` ] [ ] . If you're on Debian, Ubuntu, or a derivative,
54
+ https://apt.llvm.org is great.
58
55
59
56
If the binary named ` clang ` is too old, make sure to set the ` CC ` or
60
57
` CLANG ` environment variable appropriately, e.g., ` CC=clang-9 ` .
61
58
62
59
Very recent kernels may require newer versions of Clang - try Clang 11
63
60
if older versions don't work for you.
64
61
62
+ [ #112 ] : https://github.com/fishinabarrel/linux-kernel-module-rust/issues/112
63
+ [ support for `asm goto` ] : https://github.com/fishinabarrel/linux-kernel-module-rust/issues/123
64
+
65
65
## Building hello-world
66
66
67
67
1 . Install clang, kernel headers, and the ` rust-src ` and ` rustfmt ` components
0 commit comments