Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

taiki-e/target-spec-json

target-spec-json

crates.io docs.rs license msrv github actions

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.2"

Both --print target-spec-json and --print all-target-specs-json are unstable interfaces and may not work with certain version combinations of Rust versions and target-spec-json versions.

The following are combinations that have been confirmed to work:

target-spec-json Rust
0.2.6 nightly-2025-11-29
0.2.5 nightly-2025-10-08 - nightly-2025-10-30
0.2.4 nightly-2025-09-23 - nightly-2025-10-07
0.2.3 nightly-2025-09-01 - nightly-2025-09-22
0.2.2 nightly-2025-08-31
0.2.1 nightly-2025-08-10 - nightly-2025-08-30
0.2.0 nightly-2025-07-06 - nightly-2025-08-08

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

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

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •