rust-bindgen: enable tests
now that we have a recent enough rustfmt
This commit is contained in:
parent
7bd3a3bd55
commit
c73f75dc5e
@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
chmod +x $out/bin/bindgen
|
chmod +x $out/bin/bindgen
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false; # half the tests fail because our rustfmt is not nightly enough
|
doCheck = true;
|
||||||
checkInputs =
|
checkInputs =
|
||||||
let fakeRustup = writeScriptBin "rustup" ''
|
let fakeRustup = writeScriptBin "rustup" ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
@ -42,6 +42,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
fakeRustup # the test suite insists in calling `rustup run nightly rustfmt`
|
fakeRustup # the test suite insists in calling `rustup run nightly rustfmt`
|
||||||
clang
|
clang
|
||||||
];
|
];
|
||||||
|
preCheck = ''
|
||||||
|
# for the ci folder, notably
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "C and C++ binding generator";
|
description = "C and C++ binding generator";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user