Commit 3cc5dae7 authored by jagadam97's avatar jagadam97
Browse files

solana-cli: fix build failing due to unused_imports warning

parent d3e0de10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec {
  cargoBuildFlags = map (n: "--bin=${n}") solanaPkgs;

  env = {
    RUSTFLAGS = "-Amismatched_lifetime_syntaxes -Adead_code -Aunused_parens";
    RUSTFLAGS = "-Amismatched_lifetime_syntaxes -Adead_code -Aunused_parens -Aunused_imports";
    LIBCLANG_PATH = "${libclang.lib}/lib";

    # Used by build.rs in the rocksdb-sys crate. If we don't set these, it would