Skip to content

rustc book does not document RUST_TARGET_PATH #128280

Closed
@lolbinarycat

Description

@lolbinarycat

Location

https://doc.rust-lang.org/rustc/targets/custom.html

Summary

this environment variable controls how to look up custom targets, but it is completely undocumented. i had to read src/librustc_back/target/mod.rs in order to figure out how it works.

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-targetsArea: Concerning the implications of different compiler targetsC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions