diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 859d35b7d7ba1b9a8b63dfc45a86cd866cd0fa3f..cf5ffdafbaec36d174efc1b9c3c8848a15b2208b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -122,8 +122,7 @@ use crate::builder::Kind; use crate::config::{LlvmLibunwind, TargetSelection}; use crate::util::{ - check_run, exe, libdir, mtime, output, run, run_suppressed, t, try_run, try_run_suppressed, - CiEnv, + check_run, exe, libdir, mtime, output, run, run_suppressed, try_run, try_run_suppressed, CiEnv, }; mod builder; diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs index 4b2b058a780f6df814a5899f908d938aac755d21..6f4266a7f294e0febd5c18301282dd5bb3ebb01b 100644 --- a/src/bootstrap/util.rs +++ b/src/bootstrap/util.rs @@ -22,6 +22,7 @@ /// /// This is currently used judiciously throughout the build system rather than /// using a `Result` with `try!`, but this may change one day... +#[macro_export] macro_rules! t { ($e:expr) => { match $e { @@ -37,7 +38,7 @@ } }; } -pub(crate) use t; +pub use t; /// Given an executable called `name`, return the filename for the /// executable for a particular target.