Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an EnvironmentBlock type to represent environment variables #186

Open
jakepetroules opened this issue Feb 18, 2025 · 0 comments
Open

Comments

@jakepetroules
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant