Skip to content

Commit 6f589d5

Browse files
committed
Remove unused bootstrap::util::CiEnv enum
the right one is `build_helper::CiEnv`; this one wasn't even used.
1 parent 4d6e426 commit 6f589d5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/bootstrap/util.rs

-10
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,6 @@ pub fn symlink_dir(config: &Config, original: &Path, link: &Path) -> io::Result<
153153
}
154154
}
155155

156-
/// The CI environment rustbuild is running in. This mainly affects how the logs
157-
/// are printed.
158-
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
159-
pub enum CiEnv {
160-
/// Not a CI environment.
161-
None,
162-
/// The GitHub Actions environment, for Linux (including Docker), Windows and macOS builds.
163-
GitHubActions,
164-
}
165-
166156
pub fn forcing_clang_based_tests() -> bool {
167157
if let Some(var) = env::var_os("RUSTBUILD_FORCE_CLANG_BASED_TESTS") {
168158
match &var.to_string_lossy().to_lowercase()[..] {

0 commit comments

Comments
 (0)