Skip to content

Commit 737dbb0

Browse files
Rollup merge of #112309 - kadiwa4:remove_is_terminal, r=albertlarsan68
bootstrap: remove dependency `is-terminal`
2 parents ad9d7e3 + edf342a commit 737dbb0

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

src/bootstrap/Cargo.lock

-13
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ dependencies = [
5151
"filetime",
5252
"hex",
5353
"ignore",
54-
"is-terminal",
5554
"junction",
5655
"libc",
5756
"object",
@@ -386,18 +385,6 @@ dependencies = [
386385
"windows-sys",
387386
]
388387

389-
[[package]]
390-
name = "is-terminal"
391-
version = "0.4.6"
392-
source = "registry+https://github.com/rust-lang/crates.io-index"
393-
checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8"
394-
dependencies = [
395-
"hermit-abi 0.3.1",
396-
"io-lifetimes",
397-
"rustix",
398-
"windows-sys",
399-
]
400-
401388
[[package]]
402389
name = "itoa"
403390
version = "1.0.2"

src/bootstrap/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ path = "bin/sccache-plus-cl.rs"
3030
test = false
3131

3232
[dependencies]
33-
is-terminal = "0.4"
3433
build_helper = { path = "../tools/build_helper" }
3534
cmake = "0.1.38"
3635
filetime = "0.2"

src/bootstrap/config.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use std::collections::{HashMap, HashSet};
1212
use std::env;
1313
use std::fmt;
1414
use std::fs;
15+
use std::io::IsTerminal;
1516
use std::path::{Path, PathBuf};
1617
use std::process::Command;
1718
use std::str::FromStr;
@@ -894,8 +895,6 @@ define_config! {
894895

895896
impl Config {
896897
pub fn default_opts() -> Config {
897-
use is_terminal::IsTerminal;
898-
899898
let mut config = Config::default();
900899
config.llvm_optimize = true;
901900
config.ninja_in_file = true;

0 commit comments

Comments
 (0)