Skip to content

Commit

Permalink
Add warning section to build dependency tutorial doc (rust-lang#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
jahs-tech committed Feb 16, 2023
1 parent 62d91c5 commit 2d99bbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions book/src/tutorial-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ you're unsure.
[build-dependencies]
bindgen = "0.53.1"
```

> ⚠️ **Warning**
>
> `bindgen` needs to be added to the `[build-dependencies]` section, not the normal
> `[dependencies]` section. If you add it as a regular dependency, you will get
> errors like the following: `` error[E0463]: can't find crate for `bindgen` ``

0 comments on commit 2d99bbd

Please sign in to comment.