Merge pull request #215060 from winterqt/revert-207352
Revert "rustPlatform.bindgenHook: use the same clang/libclang as rustc"
This commit is contained in:
commit
6e30230a69
1 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
, callPackage
|
||||
, cargo
|
||||
, cargo-nextest
|
||||
, clang
|
||||
, lib
|
||||
, makeSetupHook
|
||||
, maturin
|
||||
|
@ -126,8 +127,8 @@ in {
|
|||
bindgenHook = callPackage ({}: makeSetupHook {
|
||||
name = "rust-bindgen-hook";
|
||||
substitutions = {
|
||||
libclang = rustc.llvmPackages.clang.cc.lib;
|
||||
clang = rustc.llvmPackages.clang;
|
||||
libclang = clang.cc.lib;
|
||||
inherit clang;
|
||||
};
|
||||
}
|
||||
./rust-bindgen-hook.sh) {};
|
||||
|
|
Loading…
Reference in a new issue