-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[6.1][Android] Get this repo building again #5151
Conversation
The windows host builds with the old driver for now, so it doesn't yet support wmo
@swift-ci, please test |
@swift-ci please test |
@@ -164,7 +164,7 @@ class TestTimeZone: XCTestCase { | |||
var lt = tm() | |||
localtime_r(&t, <) | |||
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" |
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.
Does this force unwrap produce a warning for non-Android platforms now?
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.
Thank you! |
@finagolfin can you verify everything here is also on main? |
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? |
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.