Prerequisites
Rust Toolchain
- Rust >= 1.70
- cargo, rustc
LLVM + libclang (required for bindgen
)
Platform | Install |
---|---|
Windows | choco install llvm or LLVM releases |
Linux | sudo apt install llvm-dev clang |
Environment Variable for Bindgen (Windows only)
$env:LIBCLANG_PATH = "C:\Program Files\LLVM\bin"