about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/util.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs
index 011e24586ca..2725813aba3 100644
--- a/src/bootstrap/util.rs
+++ b/src/bootstrap/util.rs
@@ -153,16 +153,6 @@ pub fn symlink_dir(config: &Config, original: &Path, link: &Path) -> io::Result<
     }
 }
 
-/// The CI environment rustbuild is running in. This mainly affects how the logs
-/// are printed.
-#[derive(Copy, Clone, PartialEq, Eq, Debug)]
-pub enum CiEnv {
-    /// Not a CI environment.
-    None,
-    /// The GitHub Actions environment, for Linux (including Docker), Windows and macOS builds.
-    GitHubActions,
-}
-
 pub fn forcing_clang_based_tests() -> bool {
     if let Some(var) = env::var_os("RUSTBUILD_FORCE_CLANG_BASED_TESTS") {
         match &var.to_string_lossy().to_lowercase()[..] {