mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
Export t! from the bootstrap lib so bins can use it
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 @@ macro_rules! t {
|
||||
}
|
||||
};
|
||||
}
|
||||
pub(crate) use t;
|
||||
pub use t;
|
||||
|
||||
/// Given an executable called `name`, return the filename for the
|
||||
/// executable for a particular target.
|
||||
|
||||
Reference in New Issue
Block a user