pub fn env_var_name(bin_name: &str, features: &[&str]) -> String {
        let features_part = if features.is_empty() {
            "".into()
        } else {
            format!("_{}", features.join("_"))
        };
        format!("{}{}_WASM_PATH", bin_name, features_part)
            .replace("-", "_")
            .to_uppercase()
    }
/// Constructs the name of the env variable that will be checked to see if a
/// pre-compiled binary exists on the filesystem.
Constructs the name of the env variable that will be checked to see if a
pre-compiled binary exists on the filesystem.
Constructs the name of the env variable that will be checked to see if a pre - compiled binary exists on the filesystem .
pub fn env_var_name(bin_name: &str, features: &[&str]) -> String {
        let features_part = if features.is_empty() {
            "".into()
        } else {
            format!("_{}", features.join("_"))
        };
        format!("{}{}_WASM_PATH", bin_name, features_part)
            .replace("-", "_")
            .to_uppercase()
    }
pub fn env_var_name ( bin_name : & str , features : & [ & str ] ) -> String { let features_part = if features . is_empty ( ) { " " . into ( ) } else { format ! ( " " features join ( " " ) ) } ; format ! ( " " bin_name features_part ) . replace ( " " , " " ) . to_uppercase ( ) }
Constructs the name of the env variable that will be checked to see if a
pre-compiled binary exists on the filesystem.
Constructs the name of the env variable that will be checked to see if a pre - compiled binary exists on the filesystem .
bin_name
&str
features
&[&str]
bin_name
&str
features
&[&str]