fn radula_behave_bootstrap_cross_strip() {
    Command::new(constants::RADULA_TOOTH_FIND)
        .args(&[
            Path::new(&env::var(constants::RADULA_ENVIRONMENT_DIRECTORY_CROSS).unwrap())
                .join(constants::RADULA_PATH_ETC)
                .to_str()
                .unwrap(),
            "-type",
            "d",
            "-empty",
            "-delete",
        ])
        .spawn()
        .unwrap()
        .wait()
        .unwrap();

    let x = &String::from(
        Path::new(&env::var(constants::RADULA_ENVIRONMENT_DIRECTORY_CROSS).unwrap())
            .join(constants::RADULA_PATH_USR)
            .to_str()
            .unwrap(),
    );

    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " -name *.a -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " -gv {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " \\( -name *.so* -a ! -name *dbg \\) -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " --strip-unneeded -v {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stderr(Stdio::null())
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " -sv {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stderr(Stdio::null())
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_FIND)
        .args(&[x, "-name", "*.la", "-delete"])
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
}
// This function is not a mess anymore but it still breaks some libraries
This function is not a mess anymore but it still breaks some libraries
This function is not a mess anymore but it still breaks some libraries
fn radula_behave_bootstrap_cross_strip() {
    Command::new(constants::RADULA_TOOTH_FIND)
        .args(&[
            Path::new(&env::var(constants::RADULA_ENVIRONMENT_DIRECTORY_CROSS).unwrap())
                .join(constants::RADULA_PATH_ETC)
                .to_str()
                .unwrap(),
            "-type",
            "d",
            "-empty",
            "-delete",
        ])
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    let x = &String::from(
        Path::new(&env::var(constants::RADULA_ENVIRONMENT_DIRECTORY_CROSS).unwrap())
            .join(constants::RADULA_PATH_USR)
            .to_str()
            .unwrap(),
    );
    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " -name *.a -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " -gv {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " \\( -name *.so* -a ! -name *dbg \\) -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " --strip-unneeded -v {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stderr(Stdio::null())
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_SHELL)
        .args(&[
            constants::RADULA_TOOTH_SHELL_FLAGS,
            &[
                constants::RADULA_TOOTH_FIND,
                " ",
                x,
                " -type f -exec ",
                &[constants::RADULA_CROSS_STRIP, " -sv {} \\;"].concat(),
            ]
            .concat(),
        ])
        .stderr(Stdio::null())
        .stdout(Stdio::null())
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
    Command::new(constants::RADULA_TOOTH_FIND)
        .args(&[x, "-name", "*.la", "-delete"])
        .spawn()
        .unwrap()
        .wait()
        .unwrap();
}
fn radula_behave_bootstrap_cross_strip ( ) { Command :: new ( constants :: RADULA_TOOTH_FIND ) . args ( & [ Path :: new ( & env :: var ( constants :: RADULA_ENVIRONMENT_DIRECTORY_CROSS ) . unwrap ( ) ) . join ( constants :: RADULA_PATH_ETC ) . to_str ( ) . unwrap ( ) , " " , " " , " " , " " , ] ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ; let x = & String :: from ( Path :: new ( & env :: var ( constants :: RADULA_ENVIRONMENT_DIRECTORY_CROSS ) . unwrap ( ) ) . join ( constants :: RADULA_PATH_USR ) . to_str ( ) . unwrap ( ) , ) ; Command :: new ( constants :: RADULA_TOOTH_SHELL ) . args ( & [ constants :: RADULA_TOOTH_SHELL_FLAGS , & [ constants :: RADULA_TOOTH_FIND , " " , x , " " , & [ constants :: RADULA_CROSS_STRIP , " \\ " ] . concat ( ) , ] . concat ( ) , ] ) . stdout ( Stdio :: null ( ) ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ; Command :: new ( constants :: RADULA_TOOTH_SHELL ) . args ( & [ constants :: RADULA_TOOTH_SHELL_FLAGS , & [ constants :: RADULA_TOOTH_FIND , " " , x , " \\ \\ " , & [ constants :: RADULA_CROSS_STRIP , " \\ " ] . concat ( ) , ] . concat ( ) , ] ) . stderr ( Stdio :: null ( ) ) . stdout ( Stdio :: null ( ) ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ; Command :: new ( constants :: RADULA_TOOTH_SHELL ) . args ( & [ constants :: RADULA_TOOTH_SHELL_FLAGS , & [ constants :: RADULA_TOOTH_FIND , " " , x , " " , & [ constants :: RADULA_CROSS_STRIP , " \\ " ] . concat ( ) , ] . concat ( ) , ] ) . stderr ( Stdio :: null ( ) ) . stdout ( Stdio :: null ( ) ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ; Command :: new ( constants :: RADULA_TOOTH_FIND ) . args ( & [ x , " " , " " , " " ] ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ; }
This function is not a mess anymore but it still breaks some libraries
This function is not a mess anymore but it still breaks some libraries