Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f9eb93

Browse files
Add missing documentation for running tests with GCC backend
1 parent 1071458 commit 1f9eb93

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
# GCC codegen backend tests
22

3-
TODO: please add some more information to this page.
3+
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+
```toml
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /