Skip to content

SwiftCompilerSources: remove references to C's stderr #74766

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

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Jun 27, 2024

Fixes a linux build error.
The var standardError was only used in one place for logging, which can be done with log anyway. Instead of using such C library constructs directly we should bridge to higher level APIs. This is more platform independent.

Fixes #73252
Fixes #74701

Fixes a linux build error.
The `var standardError` was only used in one place for logging, which can be done with `log` anyway.
Instead of using such C library constructs directly we should bridge to higher level APIs. This is more platform independent.

swiftlang#73252
swiftlang#74701
@eeckstein eeckstein requested a review from atrick June 27, 2024 08:15
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit 8455309 into swiftlang:main Jun 30, 2024
3 checks passed
@eeckstein eeckstein deleted the remove-stderr-reference branch June 30, 2024 12:46
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.

Linux debug builds fail to build (pure bridging mode) SwiftCompilerSources: make fflush(stdout) in Test.swift work on Windows
1 participant