compiletest: Not all diff
installations have --color
#80037
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
There is some rustdoc-related code in compiletest that uses the
diff
command-line tool; however, it passes the--color
flag todiff
, whichdiff
does not accept on my system (macOS). We should probably usegit diff --no-index
instead ofdiff
since it will have colors and will automatically use a pager. We may also want to pass the--minimal
flag todiff
/git diff
; the manual page says:See also #79991 (comment).
cc @jyn514
The text was updated successfully, but these errors were encountered: