diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2025-03-15 11:17:03 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2025-03-15 11:35:41 +0200 |
| commit | fdce008a92fc0b042a6fbefd76e7fad1f590cb8c (patch) | |
| tree | 7f8128573cde0d50387c396a0d4b8c9eaffdfd80 /src/doc/rustc-dev-guide | |
| parent | 35a70bd2c0a8b5e0b62f640e7495060f53a9d5d6 (diff) | |
| download | rust-fdce008a92fc0b042a6fbefd76e7fad1f590cb8c.tar.gz rust-fdce008a92fc0b042a6fbefd76e7fad1f590cb8c.zip | |
add some copy-paste goodness
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/running.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md index 6fb49810ad4..73f5603d5c6 100644 --- a/src/doc/rustc-dev-guide/src/tests/running.md +++ b/src/doc/rustc-dev-guide/src/tests/running.md @@ -363,20 +363,20 @@ codegen-backends = ["llvm", "gcc"] Then you need to install libgccjit 12. For example with `apt`: ```text -$ apt install libgccjit-12-dev +apt install libgccjit-12-dev ``` Now you can run the following command: ```text -$ ./x test compiler/rustc_codegen_gcc/ +./x test compiler/rustc_codegen_gcc/ ``` If it cannot find the `.so` library (if you installed it with `apt` for example), you need to pass the library file path with `LIBRARY_PATH`: ```text -$ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/ ./x test compiler/rustc_codegen_gcc/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/ ./x test compiler/rustc_codegen_gcc/ ``` If you encounter bugs or problems, don't hesitate to open issues on the |
