Skip to content

[Freestanding] Remove uses of stat() and dlsym(). #66883

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 23, 2023

Conversation

al45tair
Copy link
Contributor

We shouldn't be using stat() or dlsym() in the freestanding runtime.

rdar://111214571
rdar://106555012

@al45tair al45tair requested a review from kubamracek June 23, 2023 15:04
@al45tair
Copy link
Contributor Author

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

@al45tair
Copy link
Contributor Author

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

We shouldn't be using stat() or dlsym() in the freestanding
runtime.

rdar://111214571
rdar://106555012
@al45tair
Copy link
Contributor Author

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test Windows platform

@al45tair al45tair merged commit e197c00 into swiftlang:main Jun 23, 2023
@al45tair al45tair requested a review from mikeash June 23, 2023 21:08
@al45tair
Copy link
Contributor Author

Oops. I hit the Merge button prematurely. It's passed all the tests but nobody actually reviewed it. I think it should be fine, but if anyone has any problem with it, please revert and I'll raise a new PR to fix.

@kubamracek
Copy link
Contributor

LGTM! :)

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