pub fn check_for_wasm32_target() -> Result<(), Error> {
    let msg = format!("{}Checking for the Wasm target...", emoji::TARGET);
    PBAR.info(&msg);

    // Check if wasm32 target is present, otherwise bail.
    match check_wasm32_target() {
        Ok(ref wasm32_check) if wasm32_check.found => Ok(()),
        Ok(wasm32_check) => bail!("{}", wasm32_check),
        Err(err) => Err(err),
    }
}
/// Ensure that `rustup` has the `wasm32-unknown-unknown` target installed for
/// current toolchain
Ensure that `rustup` has the `wasm32-unknown-unknown` target installed for
current toolchain
Ensure that ` rustup ` has the ` wasm32 - unknown - unknown ` target installed for current toolchain
pub fn check_for_wasm32_target() -> Result<(), Error> {
    let msg = format!("{}Checking for the Wasm target...", emoji::TARGET);
    PBAR.info(&msg);
    // Check if wasm32 target is present, otherwise bail.
    match check_wasm32_target() {
        Ok(ref wasm32_check) if wasm32_check.found => Ok(()),
        Ok(wasm32_check) => bail!("{}", wasm32_check),
        Err(err) => Err(err),
    }
}
pub fn check_for_wasm32_target ( ) -> Result < ( ) , Error > { let msg = format ! ( " " emoji TARGET ) ; PBAR . info ( & msg ) ; // Check if wasm32 target is present, otherwise bail. match check_wasm32_target ( ) { Ok ( ref wasm32_check ) if wasm32_check . found => Ok ( ( ) ) , Ok ( wasm32_check ) => bail ! ( " " wasm32_check ) , Err ( err ) => Err ( err ) , } }
Ensure that `rustup` has the `wasm32-unknown-unknown` target installed for
current toolchain
Ensure that ` rustup ` has the ` wasm32 - unknown - unknown ` target installed for current toolchain