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 {
15501550/// The `rustc_cwd` argument is the absolute path to the cwd of the compiler
15511551/// when it was invoked.
15521552///
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).
15551558///
15561559/// The serialized Cargo format will contain a list of files, all of which are
15571560/// relative if they're under `root`. or absolute if they're elsewhere.
You can’t perform that action at this time.
0 commit comments