File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ This is what you need to do:
8
8
9
9
## Prerequisites
10
10
11
- First off, you need to [ install Rust] , if you haven't done so already.
11
+ First off, you will need the C toolchain and other build tools (_ e.g._ , CMake)
12
+ you are using to build the rest of your cFS system.
13
+
14
+ Next, you need to [ install Rust] , if you haven't done so already.
12
15
Make sure the ` cargo ` tool is in your ` $PATH ` .
13
16
14
17
For the time being, we need the ` nightly ` release channel
@@ -27,6 +30,16 @@ We also need the Rust standard library's source code
27
30
$ rustup +nightly component add rust-src
28
31
```
29
32
33
+ Finally, you will need to install ` libclang ` and the associated development files,
34
+ as they are required for automated generation of low-level bindings to cFS C APIs.
35
+ For example, on most Debian-like systems, you can run the following (as ` root ` ):
36
+
37
+ ``` sh
38
+ # apt install libclang-[n]-dev libclang1-[n]
39
+ ```
40
+
41
+ where ` [n] ` is a sufficiently recent version of ` clang ` (at time of writing, it must be at least ` 5 ` ).
42
+
30
43
## Build system additions
31
44
32
45
The ` cfs-sys ` crate,
You can’t perform that action at this time.
0 commit comments