Skip to content

Default flags and environment variables #14

@ehuss

Description

@ehuss

This issue is for working through the implementation issues for determining the default flags passed to rustc for 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 rustc flags 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.rs with some additional in compile.rs and elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-needs-designStatus: needs design workimplementationImplementation exploration and tracking issuesstabilization blockerThis needs a resolution before stabilization

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions