112a9d9c8Sopenharmony_ci# Tutorial 212a9d9c8Sopenharmony_ci 312a9d9c8Sopenharmony_ciThe following tutorial is adapted from [this blog post][tutorial]. 412a9d9c8Sopenharmony_ci 512a9d9c8Sopenharmony_ciWhat follows is a whirlwind introductory tutorial to using `bindgen` from inside 612a9d9c8Sopenharmony_ci`build.rs`. We'll generate bindings to `bzip2` (which is available on most 712a9d9c8Sopenharmony_cisystems) on-the-fly. 812a9d9c8Sopenharmony_ci 912a9d9c8Sopenharmony_ci[**TL;DR?** The full tutorial code is available here.][example] 1012a9d9c8Sopenharmony_ci 1112a9d9c8Sopenharmony_ci[tutorial]: http://fitzgeraldnick.com/2016/12/14/using-libbindgen-in-build-rs.html 1212a9d9c8Sopenharmony_ci[example]: https://github.com/fitzgen/bindgen-tutorial-bzip2-sys 13