Skip to content

Commit e98b7a9

Browse files
committed
Update documentation of Debian dependencies
Bindgen doesn't need the llvm package at all and only needs the clang package for one function. I've tested this by running the bindgen tests on a fresh Debian installation. I removed the line about Ubuntu because it is not relevant anymore. closes #2934
1 parent 5eafd91 commit e98b7a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ $ port install clang
4848
#### Debian-based Linuxes
4949

5050
```bash
51-
# apt install llvm-dev libclang-dev clang
51+
# apt install libclang-dev
5252
```
5353

54-
Ubuntu 18.04 provides the necessary packages directly.
54+
If you want to use the function `bindgen::Builder::dump_preprocessed_input`, then you also need the package `clang`.
5555

5656
#### Arch
5757

0 commit comments

Comments
 (0)