Skip to content

Commit 5633d3a

Browse files
konstinzanieb
andauthored
Document cache-keys for native build backends (#15811)
Update note for #15705 (comment) --------- Co-authored-by: Zanie Blue <[email protected]>
1 parent 3c813cd commit 5633d3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/concepts/projects/init.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@ Hello from example-ext!
301301

302302
!!! important
303303

304-
Changes to the extension code in `lib.rs` or `main.cpp` will require running `--reinstall` to
305-
rebuild them.
304+
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)
305+
to include common source file types. To force a rebuild, e.g. when changing files outside
306+
`cache-keys` or when not using `cache-keys`, use `--reinstall`.
306307

307308
## Creating a minimal project
308309

0 commit comments

Comments
 (0)