Skip to content

Commit 0a299f6

Browse files
authored
Rollup merge of #113731 - jyn514:ci-env, r=ozkanonur
Remove unused `bootstrap::util::CiEnv` enum the right one is `build_helper::CiEnv`; this one wasn't even used.
2 parents 90c74e2 + 6f589d5 commit 0a299f6

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)