Skip to content

Commit 63ae30b

Browse files
balooemilio
authored andcommitted
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.
1 parent 4562ef9 commit 63ae30b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/tutorial-1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ First we need to declare a build-time dependency on `bindgen` by adding it to
44
the `[build-dependencies]` section of our crate's `Cargo.toml` file.
55

66
Please always use the latest version of `bindgen`, it has the most fixes and
7-
best compatibility. At the time of writing the latest bindgen is `0.51.1`, but
7+
best compatibility. At the time of writing the latest bindgen is `0.53.1`, but
88
you can always check [the bindgen page of
99
crates.io](https://crates.io/crates/bindgen) to verify the latest version if
1010
you're unsure.
1111

1212
```toml
1313
[build-dependencies]
14-
bindgen = "0.51.1"
14+
bindgen = "0.53.1"
1515
```

0 commit comments

Comments
 (0)