Skip to content

Commit b04865b

Browse files
committed
add some copy-paste goodness
1 parent 7d157cb commit b04865b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/running.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -363,20 +363,20 @@ codegen-backends = ["llvm", "gcc"]
363363
Then you need to install libgccjit 12. For example with `apt`:
364364

365365
```text
366-
$ apt install libgccjit-12-dev
366+
apt install libgccjit-12-dev
367367
```
368368

369369
Now you can run the following command:
370370

371371
```text
372-
$ ./x test compiler/rustc_codegen_gcc/
372+
./x test compiler/rustc_codegen_gcc/
373373
```
374374

375375
If it cannot find the `.so` library (if you installed it with `apt` for example), you
376376
need to pass the library file path with `LIBRARY_PATH`:
377377

378378
```text
379-
$ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/ ./x test compiler/rustc_codegen_gcc/
379+
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/ ./x test compiler/rustc_codegen_gcc/
380380
```
381381

382382
If you encounter bugs or problems, don't hesitate to open issues on the

0 commit comments

Comments
 (0)