Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
libffi-sys-2.3.0
/
build
/
common.rs
blob: bc4b1451c300b55fa21384d09a5ea73c526f9db0 [
file
] [
log
] [
blame
] [
edit
]
pub
use
std
::{
env
,
fs
,
path
::{
Path
,
PathBuf
},
process
::
Command
,
};
pub
fn
run_command
(
which
:
&
'
static
str
,
cmd
:
&
mut
Command
)
{
assert
!(
cmd
.
status
().
expect
(
which
).
success
(),
"{}"
,
which
);
}