Skip to main content

target_triple_from_env

Function target_triple_from_env 

Source
pub fn target_triple_from_env() -> Triple
Expand description

Gets the compilation target triple from environment variables set by Cargo.

Must be called from a crate build script.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here