Skip to main content

llvm_target

Function llvm_target 

Source
pub(crate) fn llvm_target(sess: &EarlySession) -> Cow<'_, str>
Expand description

The LLVM target triple to use for the session’s target.

The UEFI targets are lowered through LLVM’s *-unknown-uefi targets with LLVM 24 or later, and through the Windows targets with older LLVMs.