Skip to content

Support custom environment #254

Closed
Closed
@stevapple

Description

@stevapple

Is your feature request related to a problem? Please describe.

Swift and SwiftPM has several features that are controlled by environment variables. Allowing user to specify the custom environment they want with Swift is necessary to test out some opt-in features.

Describe the solution you'd like

Add a new configuration the controls additional environment variables to pass to Swift and SwiftPM.

Either separate (Swift/SwiftPM) or unified control is acceptable IMO. For full control over the environment, we also need a way to unset existing environment variable.

Describe alternatives you've considered

This is purely addictive and the only workaround today is to modify the system's environment: rather risky and expensive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions