Skip to content

Commit fcc2f08

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (134.0.20241029050357)
1 parent 277bcea commit fcc2f08

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "0cd6aaf46fd28716f9419160b62a7dd2c21bc31655d96121a7a45e83f630603c"
5-
let version = "133.0.0"
6-
let url = "https://archive.mozilla.org/pub/app-services/releases/133.0/MozillaRustComponents.xcframework.zip"
4+
let checksum = "fbb3a7a6f2e0ea21f14eea68ed0b930b4deffc6f0b3dc43e2e1b9130512c1654"
5+
let version = "134.0.20241029050357"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.134.20241029050357/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "8f8db34b3950edae740ef8a9fc045827dadb52da05197b5d0d96d6fb8e3f0dcd"
10-
let focusUrl = "https://archive.mozilla.org/pub/app-services/releases/133.0/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "d3663fdc36a9890fd02377cab4d6496fd7644897c82211177633ab6554dab59b"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.134.20241029050357/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 28, hour: 13, minute: 24, second: 47))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 29, hour: 5, minute: 15, second: 59))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/suggest.swift

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ public enum Suggestion {
18771877
)
18781878
case mdn(title: String, url: String, description: String, score: Double
18791879
)
1880-
case weather(city: String?, region: String?, country: String?, score: Double
1880+
case weather(city: String?, region: String?, country: String?, latitude: Double?, longitude: Double?, score: Double
18811881
)
18821882
case fakespot(fakespotGrade: String, productId: String, rating: Double, title: String, totalReviews: Int64, url: String, icon: Data?, iconMimetype: String?, score: Double
18831883
)
@@ -1914,7 +1914,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
19141914
case 6: return .mdn(title: try FfiConverterString.read(from: &buf), url: try FfiConverterString.read(from: &buf), description: try FfiConverterString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
19151915
)
19161916

1917-
case 7: return .weather(city: try FfiConverterOptionString.read(from: &buf), region: try FfiConverterOptionString.read(from: &buf), country: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
1917+
case 7: return .weather(city: try FfiConverterOptionString.read(from: &buf), region: try FfiConverterOptionString.read(from: &buf), country: try FfiConverterOptionString.read(from: &buf), latitude: try FfiConverterOptionDouble.read(from: &buf), longitude: try FfiConverterOptionDouble.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
19181918
)
19191919

19201920
case 8: return .fakespot(fakespotGrade: try FfiConverterString.read(from: &buf), productId: try FfiConverterString.read(from: &buf), rating: try FfiConverterDouble.read(from: &buf), title: try FfiConverterString.read(from: &buf), totalReviews: try FfiConverterInt64.read(from: &buf), url: try FfiConverterString.read(from: &buf), icon: try FfiConverterOptionData.read(from: &buf), iconMimetype: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
@@ -1997,11 +1997,13 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
19971997
FfiConverterDouble.write(score, into: &buf)
19981998

19991999

2000-
case let .weather(city,region,country,score):
2000+
case let .weather(city,region,country,latitude,longitude,score):
20012001
writeInt(&buf, Int32(7))
20022002
FfiConverterOptionString.write(city, into: &buf)
20032003
FfiConverterOptionString.write(region, into: &buf)
20042004
FfiConverterOptionString.write(country, into: &buf)
2005+
FfiConverterOptionDouble.write(latitude, into: &buf)
2006+
FfiConverterOptionDouble.write(longitude, into: &buf)
20052007
FfiConverterDouble.write(score, into: &buf)
20062008

20072009

@@ -2195,6 +2197,30 @@ fileprivate struct FfiConverterOptionInt32: FfiConverterRustBuffer {
21952197
}
21962198
}
21972199

2200+
#if swift(>=5.8)
2201+
@_documentation(visibility: private)
2202+
#endif
2203+
fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
2204+
typealias SwiftType = Double?
2205+
2206+
public static func write(_ value: SwiftType, into buf: inout [UInt8]) {
2207+
guard let value = value else {
2208+
writeInt(&buf, Int8(0))
2209+
return
2210+
}
2211+
writeInt(&buf, Int8(1))
2212+
FfiConverterDouble.write(value, into: &buf)
2213+
}
2214+
2215+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SwiftType {
2216+
switch try readInt(&buf) as Int8 {
2217+
case 0: return nil
2218+
case 1: return try FfiConverterDouble.read(from: &buf)
2219+
default: throw UniffiInternalError.unexpectedOptionalTag
2220+
}
2221+
}
2222+
}
2223+
21982224
#if swift(>=5.8)
21992225
@_documentation(visibility: private)
22002226
#endif

swift-source/focus/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 28, hour: 13, minute: 24, second: 49))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 29, hour: 5, minute: 16, second: 2))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)