diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2023-06-29 01:32:31 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2023-06-29 23:31:25 +0800 |
| commit | 1faa95d289769038dda0f8a844edaef56f2576f0 (patch) | |
| tree | c7cea2fc1d74cb185534610e869c0b076ab0ff5c /compiler/rustc_llvm/llvm-wrapper | |
| parent | 53245a17bbe3f99b0ce1bec254df431e8c09d132 (diff) | |
| download | rust-1faa95d289769038dda0f8a844edaef56f2576f0.tar.gz rust-1faa95d289769038dda0f8a844edaef56f2576f0.zip | |
Update UI tests which relied on old behavior of constructing a default error handler every time
`early_warn` is called Skip `colored-session-opt-error.rs` on Windows hosts This is very cursed as to why it fails on Windows CI specifically: - The test emits a *warning*. - *Warnings*, and only warnings *specifically*, have a different 256-color between Windows and non-Windows hosts (other levels `set_intense(true)` unconditionally): https://github.com/rust-lang/rust/blob/e69c7306e2be08939d95f14229e3f96566fb206c/compiler/rustc_errors/src/lib.rs#L1792-L1794 Therefore, I added `// ignore-windows` test header to skip this test on Windows (it's sufficient to test color is enabled on at least one non-Windows host).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
