Skip to content

Conversation

finagolfin
Copy link
Member

Explanation: These pulls get this repo building again with the new Android overlay, swiftlang/swift#72161.

Scope: Mostly just adds imports and other Android-specific dependencies, along with some force unwraps because Bionic added nullability annotations.

Issue: None

Original PRs: #5024, #5144, #5149

Risk: low

Testing: Passed all CI on trunk and I've been running it through my Android CI for months now

Reviewer: @compnerd @jmschonfeld

@hyp, all this is missing is your fix for the nullability annotation in Process.swift that you plan to submit, and this repo works on Android again.

@finagolfin
Copy link
Member Author

@swift-ci, please test

@compnerd
Copy link
Member

@swift-ci please test

localtime_r(&t, &lt)
let zoneName = NSTimeZone.system.abbreviation() ?? "Invalid Abbreviation"
let expectedName = String(cString: lt.tm_zone, encoding: .ascii) ?? "Invalid Zone"
let expectedName = String(cString: lt.tm_zone!, encoding: .ascii) ?? "Invalid Zone"
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this force unwrap produce a warning for non-Android platforms now?

Copy link
Member Author

Choose a reason for hiding this comment

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

I took a look at the linux and Windows CI output for this pull, and a search for testtimezone only turns up these tests running, no warnings.

@parkera parkera merged commit 739c14e into swiftlang:release/6.1 Dec 19, 2024
2 checks passed
@parkera
Copy link
Contributor

parkera commented Dec 19, 2024

Thank you!

@parkera
Copy link
Contributor

parkera commented Dec 19, 2024

@finagolfin can you verify everything here is also on main?

@finagolfin
Copy link
Member Author

This 6.1 pull consists of cherry-picking all the commits from the three merged trunk pulls linked above. I downloaded this 6.1 patch now and compared it to those trunk patches, appears the same.

@parkera, can we get this into the 6.0 branch next, after winter break?

@finagolfin finagolfin deleted the release/6.1 branch December 21, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants