This is a tracking issue for the RFC "Flexible target specification" (rust-lang/rfcs#131).
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Overview
This is the tracking issue for the ability to specify custom targets using a file that defines the target (currently JSON).
See also #38338 for the related --print=target-spec-json.
Documentation: https://doc.rust-lang.org/nightly/rustc/targets/custom.html
Issues:
A-target-specs
Area: Compile-target specifications
Unresolved Questions
Implementation history
This is a tracking issue for the RFC "Flexible target specification" (rust-lang/rfcs#131).
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Overview
This is the tracking issue for the ability to specify custom targets using a file that defines the target (currently JSON).
See also #38338 for the related
--print=target-spec-json.Documentation: https://doc.rust-lang.org/nightly/rustc/targets/custom.htmlArea: Compile-target specifications
Issues: A-target-specs
Unresolved Questions
Implementation history
--print target-spec-json: print option to dump target spec as JSON #38061Target::search()#83800--print target-spec-json-schema: Add --print target-spec-json-schema #144498target-spec-json#150151-Zunstable-optionsfor json targets #152236-Zjson-target-specfor synthetic targets #154428