Tests fail if directory contains special characters #14043
Labels
A-testing-cargo-itself
Area: cargo's tests
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
If the directory where cargo is checked out contains a special character like
~
, then many tests fail. See https://gist.github.com/nikic/97fab137a6d02c33cf8df9cf56a17cd7 for a full list of failures (a handful are unrelated, but most are due to the directory name).Part of the issue seems to be that the
[..]
wildcard doesn't match~
. This is probably easy to fix.The other part of the problem is that the special character introduces quoting in rustc options, so something might expect
-C incremental=...
but get-C 'incremental=...'
instead.Steps
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: