pub fn script_interface() -> Result<()> {
        if let Ok(include_dir) = env::var("MBEDTLS_INCLUDE_DIR") {
            common::generate_mbed_crypto_bindings(include_dir.clone())?;
            common::compile_shim_library(include_dir)
        } else {
            Err(Error::new(
                ErrorKind::Other,
                "interface feature necessitates MBEDTLS_INCLUDE_DIR environment variable",
            ))
        }
    }
// Build script when the interface feature is on and not the operations one
Build script when the interface feature is on and not the operations one
Build script when the interface feature is on and not the operations one
pub fn script_interface() -> Result<()> {
        if let Ok(include_dir) = env::var("MBEDTLS_INCLUDE_DIR") {
            common::generate_mbed_crypto_bindings(include_dir.clone())?;
            common::compile_shim_library(include_dir)
        } else {
            Err(Error::new(
                ErrorKind::Other,
                "interface feature necessitates MBEDTLS_INCLUDE_DIR environment variable",
            ))
        }
    }
pub fn script_interface ( ) -> Result < ( ) > { if let Ok ( include_dir ) = env :: var ( " " ) { common :: generate_mbed_crypto_bindings ( include_dir . clone ( ) ) ? ; common :: compile_shim_library ( include_dir ) } else { Err ( Error :: new ( ErrorKind :: Other , " " , ) ) } }
Build script when the interface feature is on and not the operations one
Build script when the interface feature is on and not the operations one