]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #90663 - ken-matsui:support-early-stopping-too-old-tidy-for-macos,...
authorbors <bors@rust-lang.org>
Wed, 10 Nov 2021 03:11:44 +0000 (03:11 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Nov 2021 03:11:44 +0000 (03:11 +0000)
commitf2f55e8da927351655c73cca0ace77f5a82daed0
tree904cdddc826b1733d4b4447d6c88f56f581d0380
parent8b09ba6a5d5c644fe0f1c27c7f9c80b334241707
parentf06a71149bdeeac0c88dba6e1ad0774487b5d3de
Auto merge of #90663 - ken-matsui:support-early-stopping-too-old-tidy-for-macos, r=Mark-Simulacrum

Support early stopping too old pre-installed `tidy` command for macOS in the HTML checker

This PR brings early stopping the HTML checker before errors, which leave some macOS users confused, and suggesting installing a newer `tidy` command.

The pre-installed `tidy` command on macOS is too old, released on 31 October 2006. Additionally, I can see the same date at [StackOverflow](https://stackoverflow.com/questions/22283382/overwrite-osx-tidy
) seven years ago. The `tidy` does not support two indispensable options: `--mute-id` and `--mute`. So, the `./x.py test` command fails with a bunch of errors due not to muting them.

I could confirm the `./x.py test` command before installing a newer `tidy` failed and its command after the installation succeeded.