File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,17 @@ the registry index. This is intended for tools such as Crater that issue many
19
19
Cargo commands, and you want to avoid the network latency for updating the
20
20
index each time.
21
21
22
+ ### mtime-on-use
23
+ * Original Issue: [ #6477 ] ( https://github.com/rust-lang/cargo/pull/6477 )
24
+ * Cache usage meta tracking issue: [ #7150 ] ( https://github.com/rust-lang/cargo/issues/7150 )
25
+
26
+ The ` -Z mtime-on-use ` flag is an experiment to have Cargo update the mtime of
27
+ used files to make it easier for tools like cargo-sweep to detect which files
28
+ are stale. For many workflows this needs to be set on * all* invocations of cargo.
29
+ To make this more practical setting the ` unstable.mtime_on_use ` flag in ` .cargo/config `
30
+ or the corresponding ENV variable will apply the ` -Z mtime-on-use ` to all
31
+ invocations of nightly cargo. (the config flag is ignored by stable)
32
+
22
33
### avoid-dev-deps
23
34
* Original Issue: [ #4988 ] ( https://github.com/rust-lang/cargo/issues/4988 )
24
35
* Stabilization Issue: [ #5133 ] ( https://github.com/rust-lang/cargo/issues/5133 )
You can’t perform that action at this time.
0 commit comments