os_env_vars

Function os_env_vars 

Source
fn os_env_vars(
    vars: impl IntoIterator<Item = (OsString, OsString)>,
) -> impl Iterator<Item = (Vec<u8>, Vec<u8>)>
Expand description

Turn host environment variables into raw byte pairs.

std::env::vars panics on entries that are not valid UTF-8, while both unix and WASI environment variables are byte strings.