rustbuild: Remove Mode::Codegen

This commit is contained in:
Vadim Petrochenkov
2020-09-05 20:33:00 +03:00
parent 7d289aeade
commit 4fff14d3d8
2 changed files with 5 additions and 9 deletions

View File

@@ -300,9 +300,6 @@ pub enum Mode {
/// Build librustc, and compiler libraries, placing output in the "stageN-rustc" directory.
Rustc,
/// Build codegen libraries, placing output in the "stageN-codegen" directory
Codegen,
/// Build a tool, placing output in the "stage0-bootstrap-tools"
/// directory. This is for miscellaneous sets of tools that are built
/// using the bootstrap stage0 compiler in its entirety (target libraries
@@ -572,7 +569,6 @@ impl Build {
let suffix = match mode {
Mode::Std => "-std",
Mode::Rustc => "-rustc",
Mode::Codegen => "-codegen",
Mode::ToolBootstrap => "-bootstrap-tools",
Mode::ToolStd | Mode::ToolRustc => "-tools",
};