From 5633d3abe45ae7c2d534970f39fb7c3b6846a27f Mon Sep 17 00:00:00 2001 From: konsti Date: Sun, 14 Sep 2025 16:20:17 +0200 Subject: [PATCH] Document cache-keys for native build backends (#15811) Update note for https://github.com/astral-sh/uv/pull/15705#issuecomment-3285240646 --------- Co-authored-by: Zanie Blue --- docs/concepts/projects/init.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/concepts/projects/init.md b/docs/concepts/projects/init.md index 6bd2bb8a4..89ceec43b 100644 --- a/docs/concepts/projects/init.md +++ b/docs/concepts/projects/init.md @@ -301,8 +301,9 @@ Hello from example-ext! !!! important - Changes to the extension code in `lib.rs` or `main.cpp` will require running `--reinstall` to - rebuild them. + When creating a project with maturin or scikit-build-core, uv configures [`tool.uv.cache-keys`](https://docs.astral.sh/uv/reference/settings/#cache-keys) + to include common source file types. To force a rebuild, e.g. when changing files outside + `cache-keys` or when not using `cache-keys`, use `--reinstall`. ## Creating a minimal project