Skip to content

Add binary_format to rustc target specs #135724

@Noratrieb

Description

@Noratrieb

There are some places in rustc that need to know the binary format of the target (to generate object files). It would be good to have this as a property on the target spec to avoid needing to have ad-hoc logic for it.

See #135695 (comment)

Metadata

Metadata

Assignees

Labels

A-target-specsArea: Compile-target specificationsA-targetsArea: Concerning the implications of different compiler targetsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions