bootstrap: remove dep is-terminal

This commit is contained in:
kadiwa 2023-06-05 13:52:47 +02:00
parent 42f28f9eb4
commit edf342afc6
No known key found for this signature in database
GPG Key ID: 0B52AE391C674CE5
3 changed files with 1 additions and 16 deletions

View File

@ -51,7 +51,6 @@ dependencies = [
"filetime",
"hex",
"ignore",
"is-terminal",
"junction",
"libc",
"object",
@ -386,18 +385,6 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "is-terminal"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8"
dependencies = [
"hermit-abi 0.3.1",
"io-lifetimes",
"rustix",
"windows-sys",
]
[[package]]
name = "itoa"
version = "1.0.2"

View File

@ -30,7 +30,6 @@ path = "bin/sccache-plus-cl.rs"
test = false
[dependencies]
is-terminal = "0.4"
build_helper = { path = "../tools/build_helper" }
cmake = "0.1.38"
filetime = "0.2"

View File

@ -12,6 +12,7 @@ use std::collections::{HashMap, HashSet};
use std::env;
use std::fmt;
use std::fs;
use std::io::IsTerminal;
use std::path::{Path, PathBuf};
use std::process::Command;
use std::str::FromStr;
@ -894,8 +895,6 @@ define_config! {
impl Config {
pub fn default_opts() -> Config {
use is_terminal::IsTerminal;
let mut config = Config::default();
config.llvm_optimize = true;
config.ninja_in_file = true;