From 2d99bbd738b5dbbe02257f26489f7d3904bf9f2b Mon Sep 17 00:00:00 2001 From: jahs-tech Date: Thu, 16 Feb 2023 11:22:23 -0500 Subject: Add warning section to build dependency tutorial doc (#2413) --- book/src/tutorial-1.md | 6 ++++++ 1 file changed, 6 insertions(+) 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` `` -- cgit v1.2.3