-
Notifications
You must be signed in to change notification settings - Fork 8
Default flags and environment variables #14
Copy link
Copy link
Open
Labels
S-needs-designStatus: needs design workStatus: needs design workimplementationImplementation exploration and tracking issuesImplementation exploration and tracking issuesstabilization blockerThis needs a resolution before stabilizationThis needs a resolution before stabilization
Metadata
Metadata
Assignees
Labels
S-needs-designStatus: needs design workStatus: needs design workimplementationImplementation exploration and tracking issuesImplementation exploration and tracking issuesstabilization blockerThis needs a resolution before stabilizationThis needs a resolution before stabilization
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue is for working through the implementation issues for determining the default flags passed to
rustcfor the standard library.Currently the standard library is built in a relatively straightforward fashion, like any normal Cargo project. However, there are a number of extra
rustcflags and environment variables that can be passed to different crates.The initial implementation will likely need to duplicate some of this logic, but long term I think it would be ideal to avoid duplicating it. We will need to explore how to avoid that. We may also want to consider if we ever want the user to be able to control some of these options.
The bulk of the logic is in
rustc.rswith some additional incompile.rsand elsewhere.