summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Gautier <baloo@superbaloo.net>2020-02-12 18:15:18 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-03-16 10:52:49 +0100
commit63ae30bc858717007812bd695666c650281bd06b (patch)
tree296c86f97041e0aea93ac5b8a0df2a4608724384
parent4562ef97c08d63f88026aea5b63ddda9c0170d31 (diff)
Update to latest version of bindgen
using version 0.51.1 would trigger a build error like: ``` | | .parse_callbacks(Box::new(bindgen::CargoCallbacks)) | ^^^^^^^^^^^^^^ not found in `bindgen` ``` when using sample from tutorial.
-rw-r--r--book/src/tutorial-1.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/tutorial-1.md b/book/src/tutorial-1.md
index 1a84bc22..cac4f255 100644
--- a/book/src/tutorial-1.md
+++ b/book/src/tutorial-1.md
@@ -4,12 +4,12 @@ First we need to declare a build-time dependency on `bindgen` by adding it to
the `[build-dependencies]` section of our crate's `Cargo.toml` file.
Please always use the latest version of `bindgen`, it has the most fixes and
-best compatibility. At the time of writing the latest bindgen is `0.51.1`, but
+best compatibility. At the time of writing the latest bindgen is `0.53.1`, but
you can always check [the bindgen page of
crates.io](https://crates.io/crates/bindgen) to verify the latest version if
you're unsure.
```toml
[build-dependencies]
-bindgen = "0.51.1"
+bindgen = "0.53.1"
```