Add ar_command in run_make_support

This commit is contained in:
Guillaume Gomez 2024-06-23 15:11:57 +02:00
parent 127fa2261b
commit 84146b372a

View file

@ -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 {