Oxidized bindings for the Nix package manager!!
The standard bindgen flag BINDGEN_EXTRA_CLANG_ARGS seems to do the same thing. (cherry picked from commit 599eece08bee28d72c4ec20c8578428c158a19c1) |
||
|---|---|---|
| .vscode | ||
| doc/hacking | ||
| rust | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
nix_bindings_* crates
Use the Nix C API from Rust.
Hacking
The following will open a shell with dependencies, and install pre-commit for automatic formatting.
$ nix develop
VSCode
rust-analyzer
If the rust-analyzer extension fails, make sure the devShell was loaded into VSCode via Nix Env Selector or direnv.