Skip to content

Conversation

@speednoisemovement
Copy link
Collaborator

It turns out that GHA expressions are JavaScript, where true && '' || 'something' evaluates to 'something' (since the empty string is falsy). Because of this, we're inadvertently asking for LLD even when using the host toolchain.

This change inverts the ternary logic to work around this.

Downstream run: https://github.com/thebrowsercompany/swift-build/actions/runs/19043582681 (still running, but it seems to be fine; we can grep the full logs for "lld" when it's done to see if we missed any).

@speednoisemovement speednoisemovement merged commit b8d149d into compnerd:main Nov 3, 2025
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

Successfully merging this pull request may close these issues.

2 participants