Crate target_spec_json

Source
Expand description

Structured access to rustc --print target-spec-json and --print all-target-specs-json.

§Usage

Add this to your Cargo.toml:

[dependencies]
target-spec-json = "0.1"

Re-exports§

pub use self::Arch as TargetArch;
pub use self::Env as TargetEnv;
pub use self::Os as TargetOs;

Structs§

Error
Metadata
StackProbes
TargetSpec

Enums§

Arch
Env
Os
PanicStrategy
TargetEndian

Functions§

all_target_specs_json
<rustc> -Z unstable-options --print all-target-specs-json
target_spec_json
<rustc> -Z unstable-options --print target-spec-json --target <target>

Type Aliases§

AllTargetSpecs