[go: up one dir, main page]

Module cfg_expr::targets[][src]

Types related to rustc targets

Structs

Arch

The “architecture” field

Env

The “environment” field, which specifies an ABI environment on top of the operating system. In many configurations, this field is omitted, and the environment is implied by the operating system.

Os

The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.

TargetInfo

Contains information regarding a particular target known to rustc

Vendor

The “vendor” field, which in practice is little more than an arbitrary modifier.

Enums

Endian

The endian types known to rustc

Family

All of the target families known to rustc

Constants

ALL_BUILTINS

Functions

get_builtin_target_by_triple

Attempts to find the TargetInfo for the specified target triple

rustc_version

Retrieves the version of rustc for which the built-in targets were retrieved from. Targets may be added and removed between different rustc versions.