Struct oysterpack_app_metadata::metadata::TargetTriple[][src]

pub struct TargetTriple(_);

Platforms are identified by their “target triple” which is the string to inform the compiler what kind of output should be produced.

The target triple has the general format <arch><sub>-<vendor>-<sys>-<abi>, where:

  • arch
    • x86, arm, thumb, mips, etc.
    • On UNIXy systems, you can find this with the command uname -m.
  • sub
    • for example on ARM: v5, v6m, v7a, v7m, etc.
  • vendor
    • pc, apple, nvidia, ibm, etc.
    • On linux: usually unknown. On windows: pc. On OSX/iOS: apple
  • sys
    • none, linux, win32, darwin, cuda, etc.
    • On UNIXy systems, you can find this with the command uname -s
  • abi
    • eabi, gnu, android, macho, elf, etc.
    • On Linux, this refers to the libc implementation which you can find out with ldd --version.
    • Mac and *BSD systems don't provide multiple ABIs, so this field is omitted.
    • On Windows, AFAIK there are only two ABIs: gnu and msvc.

Methods

impl TargetTriple
[src]

TargetTriple constructor

get the underlying value

Trait Implementations

impl Debug for TargetTriple
[src]

Formats the value using the given formatter. Read more

impl Clone for TargetTriple
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for TargetTriple
[src]

impl PartialEq for TargetTriple
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for TargetTriple
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for TargetTriple
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations