File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1550,8 +1550,11 @@ impl DepInfoPathType {
1550
1550
/// The `rustc_cwd` argument is the absolute path to the cwd of the compiler
1551
1551
/// when it was invoked.
1552
1552
///
1553
- /// If the `allow_package` argument is false, then package-relative paths are
1554
- /// skipped and ignored.
1553
+ /// If the `allow_package` argument is true, then package-relative paths are
1554
+ /// included. If it is false, then package-relative paths are skipped and
1555
+ /// ignored (typically used for registry or git dependencies where we assume
1556
+ /// the source never changes, and we don't want the cost of running `stat` on
1557
+ /// all those files).
1555
1558
///
1556
1559
/// The serialized Cargo format will contain a list of files, all of which are
1557
1560
/// relative if they're under `root`. or absolute if they're elsewhere.
You can’t perform that action at this time.
0 commit comments