Skip to content

Commit 93e8b1f

Browse files
committed
fix(drawback): Call out losing build cache
1 parent db1bbda commit 93e8b1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

text/3502-cargo-script.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,9 @@ A GC for cargo is being tracked in [rust-lang/cargo#12633](https://github.com/ru
420420
With lockfile "hidden away" in the `target/`,
421421
users might not be aware that they are using old dependencies.
422422

423+
With `target/` including a hash of the script, moving the script throwsaway the build cache.
424+
[cargo#5931](https://github.com/rust-lang/cargo/issues/5931) could help reduce this.
425+
423426
Syntax is not reserved for `build.rs`, proc-maros, embedding
424427
additional packages, or other functionality to be added later with the
425428
assumption that if these features are needed, a user should be using a

0 commit comments

Comments
 (0)