From 169ba41a016f558e0468ab08c80cd800ddc95bd1 Mon Sep 17 00:00:00 2001 From: alexion Date: Fri, 11 Sep 2026 21:25:40 -0400 Subject: [PATCH] fix(ariadne): keep Clew test registration in Bazel --- AGENTS.md | 2 ++ src/ariadne/Cargo.toml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 632e91d..00ec63e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -96,6 +96,8 @@ - `rules_rust` `rust_test` targets cannot set both `crate` and `srcs`. Use one input style per test target. - Rust tests in this monorepo live in separate `*_test.rs` files, not inline `#[cfg(test)]` modules. +- Ariadne Rust tests are declared in Bazel `BUILD` files; do not add `[[test]]` entries to + `src/ariadne/Cargo.toml` unless explicitly requested. - In this monorepo, "dotfiles" refers to the dotfiles/NixOS configuration under `src/dotfiles/` and `configs/nixos/`. - The flake does not currently define `formatter.x86_64-linux`. Do not use `nix fmt` as a validation command until a formatter is added. diff --git a/src/ariadne/Cargo.toml b/src/ariadne/Cargo.toml index a6a4d46..9479df0 100644 --- a/src/ariadne/Cargo.toml +++ b/src/ariadne/Cargo.toml @@ -10,10 +10,6 @@ path = "lib.rs" name = "ariadne" path = "main.rs" -[[test]] -name = "clew_test" -path = "clew_test.rs" - [dependencies] clap = { version = "4", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }