3
3
[ Rust for Linux] ( https://rust-for-linux.com/ ) (RfL) is an effort for adding
4
4
support for the Rust programming language into the Linux kernel.
5
5
6
- ## Building Rust for Linux in CI
7
-
8
- Rust for Linux builds as part of the suite of bors tests that run before a pull
9
- request is merged.
10
-
11
- The workflow builds a stage1 sysroot of the Rust compiler, downloads the Linux
12
- kernel, and tries to compile several Rust for Linux drivers and examples using
13
- this sysroot. RfL uses several unstable compiler/language features, therefore
14
- this workflow notifies us if a given compiler change would break it.
15
-
16
- If you are worried that a pull request might break the Rust for Linux builder
17
- and want to test it out before submitting it to the bors queue, simply add this
18
- line to your PR description:
19
-
20
- > try-job: x86_64-rust-for-linux
21
-
22
- Then when you ` @bors try ` it will pick the job that builds the Rust for Linux
23
- integration.
24
-
25
- ## What to do in case of failure
6
+ ## What to do if the Rust for Linux job breaks?
26
7
27
8
If a PR breaks the Rust for Linux CI job, then:
28
9
@@ -48,4 +29,23 @@ ping group to ask for help:
48
29
@rustbot ping rfl
49
30
```
50
31
32
+ ## Building Rust for Linux in CI
33
+
34
+ Rust for Linux builds as part of the suite of bors tests that run before a pull
35
+ request is merged.
36
+
37
+ The workflow builds a stage1 sysroot of the Rust compiler, downloads the Linux
38
+ kernel, and tries to compile several Rust for Linux drivers and examples using
39
+ this sysroot. RfL uses several unstable compiler/language features, therefore
40
+ this workflow notifies us if a given compiler change would break it.
41
+
42
+ If you are worried that a pull request might break the Rust for Linux builder
43
+ and want to test it out before submitting it to the bors queue, simply add this
44
+ line to your PR description:
45
+
46
+ > try-job: x86_64-rust-for-linux
47
+
48
+ Then when you ` @bors try ` it will pick the job that builds the Rust for Linux
49
+ integration.
50
+
51
51
[ rfl-ping ] : ../notification-groups/rust-for-linux.md
0 commit comments