Function get_target_platform

Source
pub fn get_target_platform() -> Result<String, String>
Expand description

Gets the Rust target platform string. See set_TARGET_PLATFORM.

ยงErrors

Returns Err when the TARGET env var is not set or is not valid UTF-8.