phodina
phodina

Reputation: 1441

Where can I find the corresponding documentation for the Rust target specification format?

I'm building an application for thumbv7em-none-eabihf target.

I'd like to understand the field described in the JSON that I get when I run the following command:

rustc +nightly -Z unstable-options --print target-spec-json --target thumbv7em-none-eabihf

Where can I find the official corresponding documentation?

Upvotes: 3

Views: 409

Answers (1)

Tyfingr
Tyfingr

Reputation: 374

Look at the official documentation

Struct rustc_target::spec::Target
Struct rustc_target::spec::TargetOptions

are the corresponding definitions.

Upvotes: 2

Related Questions