From 9e9d61ba09fec1dbb9ec5aa338d6e6ed375a80a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 11 Oct 2024 11:01:56 +0200 Subject: [PATCH] ci: fmt all packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 2 +- rftrace/build.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b27f70..d4b0b19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - uses: dtolnay/rust-toolchain@nightly with: components: rustfmt - - run: cargo fmt -- --check + - run: cargo fmt --all -- --check c: name: C diff --git a/rftrace/build.rs b/rftrace/build.rs index ffeb479..15f0a5a 100755 --- a/rftrace/build.rs +++ b/rftrace/build.rs @@ -1,8 +1,7 @@ use std::collections::HashSet; -use std::env; -use std::fs; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; +use std::{env, fs}; fn build_backend() { println!("Building Backend!"); @@ -85,7 +84,7 @@ fn main() { if env::var_os("CARGO_FEATURE_STATICLIB").is_some() { return; } - + build_backend(); }