We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedcbb9 commit 06714c2Copy full SHA for 06714c2
src/compiletest/common.rs
@@ -13,6 +13,20 @@ use std::fmt;
13
use std::str::FromStr;
14
use regex::Regex;
15
16
+#[cfg(stage0)] // NOTE: remove impl after snapshot
17
+#[derive(Clone, PartialEq, Show)]
18
+pub enum Mode {
19
+ CompileFail,
20
+ RunFail,
21
+ RunPass,
22
+ RunPassValgrind,
23
+ Pretty,
24
+ DebugInfoGdb,
25
+ DebugInfoLldb,
26
+ Codegen
27
+}
28
+
29
+#[cfg(not(stage0))] // NOTE: remove cfg after snapshot
30
#[derive(Clone, PartialEq, Debug)]
31
pub enum Mode {
32
CompileFail,
@@ -25,6 +39,7 @@ pub enum Mode {
39
Codegen
40
}
41
42
43
impl Copy for Mode {}
44
45
impl FromStr for Mode {
0 commit comments