about summary refs log tree commit diff
path: root/src/bootstrap/util.rs
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-07-13 02:28:07 -0500
committerjyn <github@jyn.dev>2023-07-13 03:24:08 -0500
commit441972d18b05f8bd1bb2f05c0aad4f242ebe77a5 (patch)
treea2e79e9d627b5110b4493961dc02feb76252f4c2 /src/bootstrap/util.rs
parent33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff)
downloadrust-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/util.rs')
-rw-r--r--src/bootstrap/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs
index b291584b300..011e24586ca 100644
--- a/src/bootstrap/util.rs
+++ b/src/bootstrap/util.rs
@@ -229,7 +229,7 @@ pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>(
 
 pub fn run(cmd: &mut Command, print_cmd_on_fail: bool) {
     if try_run(cmd, print_cmd_on_fail).is_err() {
-        crate::detail_exit_macro!(1);
+        crate::exit!(1);
     }
 }
 
@@ -253,7 +253,7 @@ pub fn check_run(cmd: &mut Command, print_cmd_on_fail: bool) -> bool {
 
 pub fn run_suppressed(cmd: &mut Command) {
     if !try_run_suppressed(cmd) {
-        crate::detail_exit_macro!(1);
+        crate::exit!(1);
     }
 }