about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-03-19 18:06:50 +0200
committerGitHub <noreply@github.com>2025-03-19 18:06:50 +0200
commit2daaf493815e8b4bfa9862559cecf6f0f2383314 (patch)
tree14d1d44d70bf50671e6304e7e355edf2857c05d0
parentbeb1c00a8fb372d268a3eca1fbc69197f6b5210f (diff)
downloadrust-2daaf493815e8b4bfa9862559cecf6f0f2383314.tar.gz
rust-2daaf493815e8b4bfa9862559cecf6f0f2383314.zip
use correct code block markers
This makes this command pass

  mdbook test --chapter "Remarks on perma-unstable features"
-rw-r--r--src/doc/rustc-dev-guide/src/rustc-driver/remarks-on-perma-unstable-features.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustc-driver/remarks-on-perma-unstable-features.md b/src/doc/rustc-dev-guide/src/rustc-driver/remarks-on-perma-unstable-features.md
index c307adc00a0..b434cfc9cf1 100644
--- a/src/doc/rustc-dev-guide/src/rustc-driver/remarks-on-perma-unstable-features.md
+++ b/src/doc/rustc-dev-guide/src/rustc-driver/remarks-on-perma-unstable-features.md
@@ -1,4 +1,3 @@
-
 # Remarks on perma unstable features
 
 ## `rustc_private`
@@ -18,7 +17,7 @@ When using the `rustc_private` feature with official Rust toolchains distributed
 
 Install both components using rustup:
 
-```bash
+```text
 rustup component add rustc-dev llvm-tools
 ```
 
@@ -26,7 +25,7 @@ rustup component add rustc-dev llvm-tools
 
 Without the `llvm-tools` component, you'll encounter linking errors like:
 
-```
+```text
 error: linking with `cc` failed: exit status: 1
   |
   = note: rust-lld: error: unable to find library -lLLVM-{version}
@@ -45,7 +44,7 @@ For custom-built toolchains or environments not using rustup, additional configu
 
 1. **Check LLVM installation**: Verify LLVM is installed and accessible
 2. **Configure library paths**: You may need to set environment variables:
-   ```bash
+   ```text
    export LD_LIBRARY_PATH=/path/to/llvm/lib:$LD_LIBRARY_PATH
    ```
 3. **Check version compatibility**: Ensure your LLVM version is compatible with your Rust toolchain