Skip to content

[CMake] Avoid 'swiftc -parse' with stdin to check compiler capability#3290

Merged
rintaro merged 1 commit intoswiftlang:mainfrom
rintaro:cmake-swift-compiler-capability-stdin
Mar 4, 2026
Merged

[CMake] Avoid 'swiftc -parse' with stdin to check compiler capability#3290
rintaro merged 1 commit intoswiftlang:mainfrom
rintaro:cmake-swift-compiler-capability-stdin

Conversation

@rintaro
Copy link
Copy Markdown
Member

@rintaro rintaro commented Mar 3, 2026

When the host compiler is built with assertions, swiftc -parse - hits an assertion failure, which fails the capability checks.

When the host compiler is built with assertions, `swiftc -parse -` hits
an assertion failure, which fails the capability checks.
@rintaro
Copy link
Copy Markdown
Member Author

rintaro commented Mar 3, 2026

@swift-ci Please test

@rintaro
Copy link
Copy Markdown
Member Author

rintaro commented Mar 3, 2026

@swift-ci Please test macOS

@rintaro rintaro merged commit 2afc46d into swiftlang:main Mar 4, 2026
72 of 73 checks passed
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