Add ar_command
in run_make_support
This commit is contained in:
parent
127fa2261b
commit
84146b372a
@ -61,6 +61,14 @@ pub fn target() -> String {
|
||||
env_var("TARGET")
|
||||
}
|
||||
|
||||
/// `AR`
|
||||
#[track_caller]
|
||||
#[must_use]
|
||||
pub fn ar_command() -> Command {
|
||||
let ar_path = env_var("AR");
|
||||
Command::new(ar_path)
|
||||
}
|
||||
|
||||
/// Check if target is windows-like.
|
||||
#[must_use]
|
||||
pub fn is_windows() -> bool {
|
||||
|
Loading…
Reference in New Issue
Block a user