fn build_crate(module: &str)
{
    let mut cmd = Command::new("cargo");
    cmd.arg("build");

    #[cfg(not(debug_assertions))]
    {
        cmd.arg("--release");
    }

    let status = cmd
        .current_dir(find_root().unwrap().join(module))
        .status()
        .expect(&format!("Failed to build crate \"{0}\"", module));
    assert!(status.success());
}
/// Builds the "intercom" library
Builds the "intercom" library
Builds the " intercom " library
fn build_crate(module: &str)
{
    let mut cmd = Command::new("cargo");
    cmd.arg("build");
    #[cfg(not(debug_assertions))]
    {
        cmd.arg("--release");
    }
    let status = cmd
        .current_dir(find_root().unwrap().join(module))
        .status()
        .expect(&format!("Failed to build crate \"{0}\"", module));
    assert!(status.success());
}
fn build_crate ( module : & str ) { let mut cmd = Command :: new ( " " ) ; cmd . arg ( " " ) ; # [ cfg ( not ( debug_assertions ) ) ] { cmd . arg ( " " ) ; } let status = cmd . current_dir ( find_root ( ) . unwrap ( ) . join ( module ) ) . status ( ) . expect ( & format ! ( " \" \" " module ) ) ; assert ! ( status success ( ) ) ; }
Builds the "intercom" library
Builds the " intercom " library
module
&str
module
&str