Skip to main content

target_triple_for_host

Function target_triple_for_host 

Source
pub const fn target_triple_for_host(target: TargetArg) -> &'static str
Expand description

Resolves the preferred Rust target triple for target, adapting native desktop triples to host CPU architecture.

§Arguments

  • TargetArg - Concrete platform target.

§Returns

  • &'static str - Host-aware Rust target triple.