Skip to content

Commit

Permalink
chore(rust): downgrade nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagolobocastro committed Jan 7, 2022
1 parent f0010f8 commit 9748676
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion nix/lib/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let
in
rec {
rust_default = { override ? { } }: rec {
nightly = pkgs.rust-bin.nightly."2021-12-22".default.override (override);
nightly = pkgs.rust-bin.nightly."2021-11-22".default.override (override);
stable = pkgs.rust-bin.stable.latest.default.override (override);
};
default = rust_default { };
Expand Down
12 changes: 6 additions & 6 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c6dcfb8f7b4532cdaa42164cd48129139378b9e7",
"sha256": "07wmkvx8y5c23mgk77yj4l8al9c29mlyzzjpf1l30v841rvksagi",
"rev": "6695286d1ddcabe71b9eeda1dc0701765fa3dbb6",
"sha256": "0y7lxr9rx73jy66bk5bcp47c3rzcfxnmq1qv1jgcpqk6i9jig8zx",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/c6dcfb8f7b4532cdaa42164cd48129139378b9e7.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/6695286d1ddcabe71b9eeda1dc0701765fa3dbb6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"rust-overlay": {
Expand All @@ -41,10 +41,10 @@
"homepage": "",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "1efeb891b85c70ded412eb78a04bccb9badb14c6",
"sha256": "0wx7dg4p9gvjvmh9v208rd0wz6i7y6mqfkwqmzz232mb7rvg25sx",
"rev": "844ee700e1886b5826b809ecaef03cbd96b0b049",
"sha256": "1c4yk6j0qmbvsx6x5s2zcmbd247kxpfzjvq3ibw6pcjgif7w9a06",
"type": "tarball",
"url": "https://github.com/oxalica/rust-overlay/archive/1efeb891b85c70ded412eb78a04bccb9badb14c6.tar.gz",
"url": "https://github.com/oxalica/rust-overlay/archive/844ee700e1886b5826b809ecaef03cbd96b0b049.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}
2 changes: 0 additions & 2 deletions rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ extern crate tonic;
#[allow(clippy::unit_arg)]
#[allow(clippy::redundant_closure)]
#[allow(clippy::upper_case_acronyms)]
#[allow(clippy::return_self_not_must_use)]
pub mod mayastor {
use std::str::FromStr;

Expand Down Expand Up @@ -40,7 +39,6 @@ pub mod mayastor {
include!(concat!(env!("OUT_DIR"), "/mayastor.rs"));
}

#[allow(clippy::return_self_not_must_use)]
pub mod csi {
include!(concat!(env!("OUT_DIR"), "/csi.v1.rs"));
}

0 comments on commit 9748676

Please sign in to comment.