From f98e9355040cbc8e188a73698c613a99b5529231 Mon Sep 17 00:00:00 2001 From: Mateo Wang <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 25 Jun 2026 14:28:49 -0700 Subject: [PATCH] chore: gitignore rust bridge build artifacts (#31349) Ignore the compiled, platform-specific Rust extension output (litellm/rust_bridge/_native*.so/.pyd) and the litellm-rust/target/ build dir so local maturin/cargo builds don't show up as untracked files. Also drop the two stale self-referential .gitignore entries; .gitignore is tracked, so ignoring it did nothing except add confusion. Co-authored-by: Cursor Agent Co-authored-by: Mateo Wang --- .gitignore | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3563d7c8c2d..59fa5803abe 100644 --- a/.gitignore +++ b/.gitignore @@ -9,12 +9,17 @@ litellm/proxy/myenv/* litellm_uuid.txt __pycache__/ *.pyc + +# Rust bridge build artifacts (compiled, platform-specific; regenerated by maturin/cargo) +litellm/rust_bridge/_native*.so +litellm/rust_bridge/_native*.pyd +litellm-rust/target/ + bun.lockb **/.DS_Store .aider* litellm_results.jsonl secrets.toml -.gitignore litellm/proxy/litellm_secrets.toml litellm/proxy/api_log.json .idea/ @@ -36,7 +41,6 @@ litellm/tests/dynamo*.log .vscode/settings.json litellm/proxy/log.txt proxy_server_config_@.yaml -.gitignore proxy_server_config_2.yaml litellm/proxy/secret_managers/credentials.json hosted_config.yaml