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+
Structs
Enums
Functions
<rustc> -Z unstable-options --print all-target-specs-json<rustc> -Z unstable-options --print target-spec-json --target <target>