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"

Compiler support: requires rustc 1.57+

Re-exports§

  • pub use Arch as TargetArch;
  • pub use Env as TargetEnv;
  • pub use Os as TargetOs;

Structs§

Enums§

Functions§

Type Aliases§