summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjahs-tech <jah@jahs.tech>2023-02-16 11:22:23 -0500
committerGitHub <noreply@github.com>2023-02-16 11:22:23 -0500
commit2d99bbd738b5dbbe02257f26489f7d3904bf9f2b (patch)
tree987038a5c1ed8e2f701843dbe9db040d3d107114
parent62d91c5dcbf84bb9cda59996d60ab33df321e9f2 (diff)
Add warning section to build dependency tutorial doc (#2413)
-rw-r--r--book/src/tutorial-1.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/book/src/tutorial-1.md b/book/src/tutorial-1.md
index cac4f255..182a777f 100644
--- a/book/src/tutorial-1.md
+++ b/book/src/tutorial-1.md
@@ -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` ``