Keyboard shortcuts

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

Prerequisites

Rust Toolchain

  • Rust >= 1.70
  • cargo, rustc

LLVM + libclang (required for bindgen)

PlatformInstall
Windowschoco install llvm or LLVM releases
Linuxsudo apt install build-essential llvm-dev clang libclang-dev

Environment Variable for Bindgen (Windows only)

$env:LIBCLANG_PATH = "C:\Program Files\LLVM\bin"