Skip to content

Commit

Permalink
Update documentation of Debian dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
e00E committed Sep 26, 2024
1 parent 5eafd91 commit e98b7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/src/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ $ port install clang
#### Debian-based Linuxes

```bash
# apt install llvm-dev libclang-dev clang
# apt install libclang-dev
```

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

#### Arch

Expand Down

0 comments on commit e98b7a9

Please sign in to comment.