Added test case.

This commit is contained in:
kennytm
2018-05-06 02:33:01 +08:00
parent 1733f5e1c0
commit be9d6690b2
3 changed files with 43 additions and 8 deletions

View File

@@ -304,7 +304,7 @@ impl Crate {
///
/// These entries currently correspond to the various output directories of the
/// build system, with each mod generating output in a different directory.
#[derive(Debug, Hash, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Hash, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub enum Mode {
/// Build the standard library, placing output in the "stageN-std" directory.
Libstd,