diff options
| author | jyn <github@jyn.dev> | 2023-07-15 18:52:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-15 18:52:32 -0500 |
| commit | 0a299f651212a3121e2bb432d758495fdb5019d3 (patch) | |
| tree | 95abb4893f10142cafd8872260c1e6572d05e1e4 | |
| parent | 90c74e20ce4892825fd0acda1ded1fa098cf0284 (diff) | |
| parent | 6f589d53ba007261c5c5bac066e97afbb40f3db6 (diff) | |
| download | rust-0a299f651212a3121e2bb432d758495fdb5019d3.tar.gz rust-0a299f651212a3121e2bb432d758495fdb5019d3.zip | |
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.
| -rw-r--r-- | src/bootstrap/util.rs | 10 |
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()[..] { |
