Skip to content

Conversation

@kkebo
Copy link

@kkebokkebo commented Oct 14, 2024

fixes#316

The PR #311 introduced Context.environment, so that swift-async-algorithm can no longer be used in the Swift Playground.

However, Context.environment is equivalent to ProcessInfo.processInfo.environment, so this is an unnecessary sacrifice.

This change is intended to fix that.

@phausler
Copy link
Member

@swift-ci please test

@jessezamora
Copy link

Good to merge? LOL

@kkebo
Copy link
Author

kkebo commented Jan 31, 2025

Swift Playground 4.6 was released today, but it still has this issue.

@kkebokkebo changed the title Fix build failure on Swift PlaygroundsFix build failure on Swift PlaygroundFeb 20, 2025
@kkebokkeboforce-pushed the fix-swift-playgrounds branch from ad84e42 to 74ee419CompareApril 5, 2025 19:29
@kkebokkeboforce-pushed the fix-swift-playgrounds branch 3 times, most recently from 01d54ab to 472187aCompareDecember 2, 2025 17:53
The PR apple#311 introduced `Context.environment`, so that swift-async-algorithm can no longer be used in the Swift Playground. However, `Context.environment` is equivalent to `ProcessInfo.processInfo.environment`, so this is an unnecessary sacrifice. This change is intended to fix that.
@kkebokkeboforce-pushed the fix-swift-playgrounds branch from 472187a to 40af8ccCompareDecember 2, 2025 17:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

swift-async-algorithms 1.0.1 can no longer be built in Swift Playgrounds on iPadOS

3 participants

@kkebo@phausler@jessezamora