From cdf999f7f3b49b250bbae1d2c93b06cb5c598c93 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Sun, 25 Jan 2026 12:21:24 +0100 Subject: [PATCH 1/2] fix: tweaked exec-harness build for gcc15+ --- crates/exec-harness/build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/exec-harness/build.rs b/crates/exec-harness/build.rs index 2c05f52e..6fb18014 100644 --- a/crates/exec-harness/build.rs +++ b/crates/exec-harness/build.rs @@ -99,6 +99,7 @@ fn build_shared_library(paths: &PreloadBuildPaths, constants: &PreloadConstants) "CODSPEED_INTEGRATION_VERSION", integration_version_val.as_str(), ) + .std("gnu11") // need gnu11 instead of just c11 for setenv // Suppress warnings from generated Zig code .flag("-Wno-format") .flag("-Wno-format-security") @@ -107,7 +108,8 @@ fn build_shared_library(paths: &PreloadBuildPaths, constants: &PreloadConstants) .flag("-Wno-type-limits") .flag("-Wno-uninitialized") .flag("-Wno-overflow") - .flag("-Wno-unused-function"); + .flag("-Wno-unused-function") + .flag("-Wno-unterminated-string-initialization"); // Compile source files to object files let objects = build.compile_intermediates(); From a968bdf39beeb9f86c0eb149dd07ee524ce5a00f Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Sun, 25 Jan 2026 12:22:08 +0100 Subject: [PATCH 2/2] feat: add command aliases --- src/app.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.rs b/src/app.rs index 9918674b..469fbe94 100644 --- a/src/app.rs +++ b/src/app.rs @@ -68,9 +68,11 @@ pub struct Cli { #[derive(Subcommand, Debug)] enum Commands { /// Run a benchmark program that already contains the CodSpeed instrumentation and upload the results to CodSpeed + #[command(alias = "r")] Run(Box), /// Run a command after adding CodSpeed instrumentation to it and upload the results to /// CodSpeed + #[command(alias = "x")] Exec(Box), /// Manage the CLI authentication state Auth(auth::AuthArgs),