File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/tests/codegen-backend-tests Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
# GCC codegen backend
2
2
3
3
If you ran into an error related to tests executed with the GCC codegen backend on CI,
4
- you can use the following command to run tests locally using the GCC backend:
4
+ you can use the following command to run UI tests locally using the GCC backend:
5
5
6
6
``` bash
7
- ./x test tests/ui --set ' rust.codegen-backends = ["llvm", "gcc"]' --test-codegen-backend gcc
7
+ ./x test tests/ui \
8
+ --set ' rust.codegen-backends = ["llvm", "gcc"]' \
9
+ --set ' rust.debug-assertions = false' \
10
+ --test-codegen-backend gcc
8
11
```
9
12
13
+ If a different test suite has failed on CI, you will have to modify the ` tests/ui ` part.
14
+
10
15
Below, you can find more information about how to configure the GCC backend in bootstrap.
11
16
12
17
## Choosing which codegen backends are built
You can’t perform that action at this time.
0 commit comments