Tutorial
The following tutorial is adapted from this blog post.
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.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
The following tutorial is adapted from this blog post.
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.