Pretty,
DebugInfoGdb,
DebugInfoLldb,
- Codegen
+ Codegen,
+ Rustdoc,
+ CodegenUnits
}
impl FromStr for Mode {
"debuginfo-lldb" => Ok(DebugInfoLldb),
"debuginfo-gdb" => Ok(DebugInfoGdb),
"codegen" => Ok(Codegen),
+ "rustdoc" => Ok(Rustdoc),
+ "codegen-units" => Ok(CodegenUnits),
_ => Err(()),
}
}
DebugInfoGdb => "debuginfo-gdb",
DebugInfoLldb => "debuginfo-lldb",
Codegen => "codegen",
+ Rustdoc => "rustdoc",
+ CodegenUnits => "codegen-units",
}, f)
}
}
// The rustc executable
pub rustc_path: PathBuf,
- // The clang executable
- pub clang_path: Option<PathBuf>,
+ // The rustdoc executable
+ pub rustdoc_path: PathBuf,
+
+ // The python executable
+ pub python: String,
// The llvm binaries path
pub llvm_bin_path: Option<PathBuf>,
// Flags to pass to the compiler when building for the target
pub target_rustcflags: Option<String>,
- // Run tests using the JIT
- pub jit: bool,
-
// Target system to be tested
pub target: String,