mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
15 lines
421 B
Rust
15 lines
421 B
Rust
//! Miscellaneous support code used by Cargo.
|
|
|
|
pub use self::read2::read2;
|
|
pub use process_builder::ProcessBuilder;
|
|
pub use process_error::{exit_status_to_string, is_simple_exit_code, ProcessError};
|
|
|
|
mod process_builder;
|
|
mod process_error;
|
|
mod read2;
|
|
|
|
/// Whether or not this running in a Continuous Integration environment.
|
|
pub fn is_ci() -> bool {
|
|
std::env::var("CI").is_ok() || std::env::var("TF_BUILD").is_ok()
|
|
}
|