fix: sort and dedup include paths to prevent VFS issues
This commit is contained in:
parent
eafbc7b406
commit
a028fbf641
1 changed files with 4 additions and 0 deletions
|
|
@ -844,6 +844,8 @@ impl ProjectWorkspace {
|
|||
exclude.push(pkg_root.join("examples"));
|
||||
exclude.push(pkg_root.join("benches"));
|
||||
}
|
||||
include.sort();
|
||||
include.dedup();
|
||||
PackageRoot { is_local, include, exclude }
|
||||
})
|
||||
.chain(mk_sysroot())
|
||||
|
|
@ -905,6 +907,8 @@ impl ProjectWorkspace {
|
|||
exclude.push(pkg_root.join("examples"));
|
||||
exclude.push(pkg_root.join("benches"));
|
||||
}
|
||||
include.sort();
|
||||
include.dedup();
|
||||
PackageRoot { is_local, include, exclude }
|
||||
})
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue