We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1071458 commit 1f9eb93Copy full SHA for 1f9eb93
src/tests/codegen-backend-tests/cg_gcc.md
@@ -1,3 +1,20 @@
1
# GCC codegen backend tests
2
3
-TODO: please add some more information to this page.
+To test the GCC codegen backend, you need to add `"gcc"` into the `rust.codegen-backends`
4
+setting in `bootstrap.toml`:
5
+
6
+```toml
7
+rust.codegen-backends = ["llvm", "gcc"]
8
+```
9
10
+If you don't want to build `gcc` yourself, you also need to set:
11
12
13
+gcc.download-ci-gcc = true
14
15
16
+Then when running tests, add the `--test-codegen-backend gcc` option. For example:
17
18
+```bash
19
+./x.py test tests/ui --test-codegen-backend gcc
20
0 commit comments