git.delta.rocks / jrsonnet / refs/commits / f78972ccc432

difftreelog

ci fallback to stable fenix if not available

mmykuvttYaroslav Bolyukin2026-05-06parent: #5f11fd7.patch.diff
in: master
It is only used for better clippy and rustfmt anyway

3 files changed

modifiedflake.nixdiffbeforeafterboth
70 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"
modifiedxtask/src/bench.rsdiffbeforeafterboth
5 time::Instant,5 time::Instant,
6};6};
77
8use anyhow::{bail, Result};8use anyhow::{Result, bail};
9use nix::{libc, sys::wait::WaitStatus, unistd::Pid};9use nix::{libc, sys::wait::WaitStatus, unistd::Pid};
1010
11#[derive(Debug, Clone)]11#[derive(Debug, Clone)]
modifiedxtask/src/main.rsdiffbeforeafterboth
1use anyhow::Result;
1#[cfg(not(target_os = "linux"))]2#[cfg(not(target_os = "linux"))]
2use anyhow::bail;3use anyhow::bail;
3use anyhow::Result;
4use clap::Parser;4use clap::Parser;
5use xshell::{cmd, Shell};5use xshell::{Shell, cmd};
66
7#[cfg(target_os = "linux")]7#[cfg(target_os = "linux")]
8mod bench;8mod bench;