pub fn target_triple() -> Result<String>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, windows – i686, x86, armv7 – gnu, musl, msvc
- Errors:
- Unexpected system config