Skip to content

Use the new Bionic module from Swift 6 where possible #1

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

Closed
wants to merge 1 commit into from

Conversation

finagolfin
Copy link

Also, keep force unwrap for non-Android in FileHandle._readDataOfLength() and remove wrong guard for Android in Process.run().

Also, keep force unwrap for non-Android in `FileHandle._readDataOfLength()` and
remove wrong `guard` for Android in `Process.run()`.
@@ -932,13 +932,6 @@ open class Process: NSObject, @unchecked Sendable {
var spawnAttrs: posix_spawnattr_t? = nil
#else
var spawnAttrs: posix_spawnattr_t = posix_spawnattr_t()
#endif
#if os(Android)
guard var spawnAttrs else {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what the point of this is, as it's set to nil just a couple lines above and fails to compile with NDK 26.

@finagolfin
Copy link
Author

Closing since the upstream pull seems to be abandoned

@finagolfin finagolfin closed this Oct 5, 2024
@finagolfin finagolfin deleted the import branch December 17, 2024 18:53
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.

1 participant