blob: 4ed544ba1c46ae100772d2ae97228b3e553cbbf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Tutorial
The following tutorial is adapted from [this blog post][tutorial].
What follows is a whirlwind introductory tutorial to using `bindgen` from inside
`build.rs`. We'll generate bindings to `bzip2` (which is available on most
systems) on-the-fly.
[**TL;DR?** The full tutorial code is available here.][example]
[tutorial]: http://fitzgeraldnick.com/2016/12/14/using-libbindgen-in-build-rs.html
[example]: https://github.com/fitzgen/bindgen-tutorial-bzip2-sys
|