inore some codegen tests when debug assertions are enabled
This commit is contained in:
parent
f47d56a55b
commit
1001b2beee
5 changed files with 9 additions and 2 deletions
|
|
@ -615,12 +615,14 @@ impl Config {
|
|||
common::DebugInfoLldb => name == "lldb",
|
||||
common::Pretty => name == "pretty",
|
||||
_ => false,
|
||||
} || (self.target != self.host && name == "cross-compile") ||
|
||||
} ||
|
||||
(self.target != self.host && name == "cross-compile") ||
|
||||
match self.compare_mode {
|
||||
Some(CompareMode::Nll) => name == "compare-mode-nll",
|
||||
Some(CompareMode::Polonius) => name == "compare-mode-polonius",
|
||||
None => false,
|
||||
}
|
||||
} ||
|
||||
(cfg!(debug_assertions) && name == "debug")
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue