-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed as not planned
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Currently the only way to find the rustc version is to invoke rustc. Which is for instance what the rustc_version crate does. It would be great if RUSTC_VERSION or something similar was set automatically so that build scripts could customize what happens based on the version of Rust it compiles with.
See also #4408
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.