Skip to content

Add Android imports to tests #225

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Android imports to tests #225

wants to merge 1 commit into from

Conversation

marcprux
Copy link

This is needed for constants like O_RDWR, completing the work in #187 and eliminating the need for @finagolfin's swift-system-tests.patch

@finagolfin
Copy link
Contributor

The reason I haven't submitted that patch is that I only need it when cross-compiling, ie I don't need it when natively compiling on Android. There are some weird import issues I've been seeing since last summer, possibly related to the Foundation rewrite. Since this is one of them, I've been holding off on submitting it, as I want to investigate the root cause at some point.

However, if you want to just fix this for cross-compilation now, nothing against that: go for it.

@marcprux
Copy link
Author

However, if you want to just fix this for cross-compilation now, nothing against that: go for it.

Yes, I'd like to get this building now, since it is causing some dependent packages at https://swift-everywhere.org that are failing.

marcprux added a commit to swift-everywhere/swift-package-builds that referenced this pull request Apr 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