Function tauri::api::platform::target_triple[][src]

pub fn target_triple() -> Result<String, Error>
Expand description

Try to determine the current target triple.

Returns a target triple (e.g. x86_64-unknown-linux-gnu or i686-pc-windows-msvc) or an Error::Config if the current config cannot be determined or is not some combination of the following values: linux, mac, windowsi686, x86, armv7gnu, musl, msvc

  • Errors:
    • Unexpected system config