1 parent
80ec3dfdd3
commit
079cceb554
57 files changed
+4092
-538
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Rust and C/C++ in one shell (FFI, cxx, bindgen, -sys crates built with CMake):
|
||||
# everything from `cpp` and `rust`, compiled with the cpp shell's Clang. Also an
|
||||
# example of composing shells: copy this file to combine others.
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
shells.rust-cpp = {
|
||||
description = "rust + cpp on Clang, with bindgen's libclang";
|
||||
extends = [
|
||||
"cpp"
|
||||
"rust"
|
||||
];
|
||||
# LIBCLANG_PATH and BINDGEN_EXTRA_CLANG_ARGS for bindgen.
|
||||
packages = [ pkgs.rustPlatform.bindgenHook ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user