From 5c1f5737c6bbb549451b12c99485bf160aefa17a Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 6 Jan 2025 11:27:13 -0800 Subject: [PATCH] fix ci (#46) * updates Signed-off-by: Jess Frazelle * updates Signed-off-by: Jess Frazelle * updates Signed-off-by: Jess Frazelle --------- Signed-off-by: Jess Frazelle --- .github/workflows/cargo-test.yml | 2 +- Cargo.toml | 3 +++ src/os_linux.rs | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 4617534..7d7417a 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -39,4 +39,4 @@ jobs: shell: bash run: | cargo build --all - cargo nextest run --all --test-threads=1 --no-fail-fast + cargo test --all diff --git a/Cargo.toml b/Cargo.toml index 8b8c302..fc960d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,6 @@ schemars = "0.8" serde = "1.0" serde_json = "1.0" tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "net", "time", "io-util"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable, tokio_taskdump)'] } diff --git a/src/os_linux.rs b/src/os_linux.rs index e006b24..1acf896 100644 --- a/src/os_linux.rs +++ b/src/os_linux.rs @@ -5,10 +5,6 @@ use serde::Serialize; use crate::Context; -/// Request a coredump be taken of the process. -#[derive(Clone, Debug, PartialEq, JsonSchema, Serialize)] -struct CoredumpRequest {} - /// Response from a coredump (you'll never see one of these), since if /// a coredump is successful the process will be killed, and if not /// there should be an HTTP Error returned.