pub fn check_env(global_opts: &Opts) -> Result<(), Error>Expand description
Checks if the user has the necessary prerequisites on their system (i.e.
cargo and wasm-pack). These can all be checked by just trying to run
their binaries and looking for errors. If the user has other paths for
these, they can define them under the environment variables
PERSEUS_CARGO_PATH and PERSEUS_WASM_PACK_PATH.
Checks if the user has cargo installed, and tries to install the
wasm32-unknown-unknown target with rustup if it’s available.