Remove compare mode

This commit is contained in:
Michael Goulet 2023-07-03 15:22:00 +00:00
parent 810fbf086d
commit c6fcbaae0f
7 changed files with 1 additions and 12 deletions

View File

@ -304,7 +304,7 @@ pub enum Subcommand {
./x.py test library/std --test-args hash_map
./x.py test library/std --stage 0 --no-doc
./x.py test tests/ui --bless
./x.py test tests/ui --compare-mode chalk
./x.py test tests/ui --compare-mode next-solver
Note that `test tests/* --stage N` does NOT depend on `build compiler/rustc --stage N`;
just like `build library/std --stage N` it tests the compiler produced by the previous
stage.

View File

@ -107,7 +107,6 @@ string_enum! {
#[derive(Clone, Debug, PartialEq)]
pub enum CompareMode {
Polonius => "polonius",
Chalk => "chalk",
NextSolver => "next-solver",
NextSolverCoherence => "next-solver-coherence",
SplitDwarf => "split-dwarf",

View File

@ -2435,9 +2435,6 @@ impl<'test> TestCx<'test> {
Some(CompareMode::Polonius) => {
rustc.args(&["-Zpolonius"]);
}
Some(CompareMode::Chalk) => {
rustc.args(&["-Ztrait-solver=chalk"]);
}
Some(CompareMode::NextSolver) => {
rustc.args(&["-Ztrait-solver=next"]);
}

View File

@ -122,10 +122,6 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
"byteorder", // via ruzstd in object in thorin-dwp
"cc",
"cfg-if",
"chalk-derive",
"chalk-engine",
"chalk-ir",
"chalk-solve",
"compiler_builtins",
"convert_case", // dependency of derive_more
"cpufeatures",

View File

@ -1,4 +1,3 @@
// ignore-compare-mode-chalk
// check-pass
#![feature(type_alias_impl_trait)]
use std::fmt::Debug;

View File

@ -1,5 +1,4 @@
// edition:2018
// ignore-compare-mode-chalk
#![feature(impl_trait_in_assoc_type)]

View File

@ -1,5 +1,4 @@
// check-pass
// ignore-compare-mode-chalk
#![allow(dead_code)]