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
Copy file name to clipboardExpand all lines: src/tests/codegen-backend-tests/cg_gcc.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ you can use the following command to run UI tests locally using the GCC backend,
21
21
22
22
If a different test suite has failed on CI, you will have to modify the `tests/ui` part.
23
23
24
-
To reproduce the whole CI job locally, you can run `cargo run --manifest-path src/ci/citool/Cargo.toml run-local x86_64-gnu-gcc`. See [Testing with Docker](../docker.md) for more information.
24
+
To reproduce the whole CI job locally, you can run `cargo run --manifest-path src/ci/citool/Cargo.toml run-local x86_64-gnu-gcc`.
25
+
See [Testing with Docker](../docker.md) for more information.
25
26
26
27
### What to do in case of a GCC job failure?
27
28
@@ -32,23 +33,26 @@ If fixing a compiler test that fails with the GCC backend is non-trivial, you ca
32
33
## Choosing which codegen backends are built
33
34
34
35
The `rust.codegen-backends = [...]` bootstrap option affects which codegen backends will be built and
35
-
included in the sysroot of the produced `rustc`. To use the GCC codegen backend, `"gcc"` has to
36
-
be included in this array in `bootstrap.toml`:
36
+
included in the sysroot of the produced `rustc`.
37
+
To use the GCC codegen backend, `"gcc"` has to be included in this array in `bootstrap.toml`:
37
38
38
39
```toml
39
40
rust.codegen-backends = ["llvm", "gcc"]
40
41
```
41
42
42
43
If you don't want to change your `bootstrap.toml` file, you can alternatively run your `x`
43
-
commands with `--set 'rust.codegen-backends=["llvm", "gcc"]'`. For example:
44
+
commands with `--set 'rust.codegen-backends=["llvm", "gcc"]'`.
0 commit comments