rust-bindgen: fixup build with rustc 1.37

Thanks to Symphorien: #67426
This commit is contained in:
Vladimír Čunát 2019-08-25 14:23:01 +02:00
parent 7de221d5e0
commit e19b17cc14
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -5,6 +5,8 @@ rustPlatform.buildRustPackage rec {
pname = "rust-bindgen";
version = "0.51.0";
RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update
src = fetchFromGitHub {
owner = "rust-lang";
repo = pname;