-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add a SWIFT_STDLIB_HAS_STDIN flag to compile out the readLine API (for the 'freestanding' preset) #39332
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
Conversation
@swift-ci please test |
6459cd8
to
5022f3b
Compare
@swift-ci please test |
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im mostly good with this - I just wish that the commit message could be a bit better. Namely, it is very confusing because deadline is a library, and it's easy to mixup readLine
and readline. But, not sure how much better we could do (perhaps the quoting is the best we can do?). FWIW, I think that this would be useful for other environments as well (e.g. Android) where stdin is meant to be inaccessible.
… API from the stdlib (for the 'freestanding' preset)
5022f3b
to
6bd7cd3
Compare
@swift-ci please test |
Build failed |
@swift-ci please test Linux platform |
Build failed |
@swift-ci please test Linux platform |
Build failed |
@swift-ci please test Linux platform |
Build failed |
@swift-ci please test Linux platform |
No description provided.