diff options
| author | jyn <github@jyn.dev> | 2023-07-13 02:28:07 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-07-13 03:24:08 -0500 |
| commit | 441972d18b05f8bd1bb2f05c0aad4f242ebe77a5 (patch) | |
| tree | a2e79e9d627b5110b4493961dc02feb76252f4c2 /src/bootstrap/lib.rs | |
| parent | 33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff) | |
| download | rust-441972d18b05f8bd1bb2f05c0aad4f242ebe77a5.tar.gz rust-441972d18b05f8bd1bb2f05c0aad4f242ebe77a5.zip | |
Rename `detail_exit_macro` to `exit`
`detail` and `macro` weren't adding any info.
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 0b509132043..da04386b30a 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -27,7 +27,7 @@ use std::process::{Command, Stdio}; use std::str; use build_helper::ci::{gha, CiEnv}; -use build_helper::detail_exit_macro; +use build_helper::exit; use channel::GitInfo; use config::{DryRun, Target}; use filetime::FileTime; @@ -711,7 +711,7 @@ impl Build { for failure in failures.iter() { eprintln!(" - {}\n", failure); } - detail_exit_macro!(1); + exit!(1); } #[cfg(feature = "build-metrics")] @@ -1515,7 +1515,7 @@ impl Build { "Error: Unable to find the stamp file {}, did you try to keep a nonexistent build stage?", stamp.display() ); - crate::detail_exit_macro!(1); + crate::exit!(1); } let mut paths = Vec::new(); @@ -1707,7 +1707,7 @@ Alternatively, set `download-ci-llvm = true` in that `[llvm]` section to download LLVM rather than building it. " ); - detail_exit_macro!(1); + exit!(1); } } |
