difftreelog
ci fallback to stable fenix if not available
in: master
It is only used for better clippy and rustfmt anyway
3 files changed
flake.nixdiffbeforeafterboth70 targetArch = pkgs.stdenv.hostPlatform.parsed.cpu.name;70 targetArch = pkgs.stdenv.hostPlatform.parsed.cpu.name;71 rustfmt = (pkgs.fenix.complete or pkgs.fenix.stable).rustfmt;71 rustfmt = (pkgs.fenix.complete or pkgs.fenix.stable).rustfmt;72 toolchain = pkgs.fenix.combine [72 toolchain = pkgs.fenix.combine [73 (pkgs.fenix.complete.withComponents [73 ((pkgs.fenix.complete or pkgs.fenix.stable).withComponents [74 "cargo"74 "cargo"75 "clippy"75 "clippy"76 "rustc"76 "rustc"xtask/src/bench.rsdiffbeforeafterboth--- a/xtask/src/bench.rs
+++ b/xtask/src/bench.rs
@@ -5,7 +5,7 @@
time::Instant,
};
-use anyhow::{bail, Result};
+use anyhow::{Result, bail};
use nix::{libc, sys::wait::WaitStatus, unistd::Pid};
#[derive(Debug, Clone)]
xtask/src/main.rsdiffbeforeafterboth--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -1,8 +1,8 @@
+use anyhow::Result;
#[cfg(not(target_os = "linux"))]
use anyhow::bail;
-use anyhow::Result;
use clap::Parser;
-use xshell::{cmd, Shell};
+use xshell::{Shell, cmd};
#[cfg(target_os = "linux")]
mod bench;