Skip to content

Add an EnvironmentBlock type to represent environment variables #186

@jakepetroules

Description

@jakepetroules

We should define such a type and use it throughout Swift Build, as environment variable names are case-insensitive on Windows and allowing duplicate keys which differ only by case when using a simple [String: String] can lead to assertions being broken in unexpected places.

@rauhul refactored SwiftPM’s version of this type here: swiftlang/swift-package-manager#7684. We might want to take that implementation.

rdar://134664046

Metadata

Metadata

Assignees

Labels

windowsSupport for the Windows platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions