Skip to content

Commit c110d9f

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (125.0.20240302000149)
1 parent 390e44f commit c110d9f

File tree

4 files changed

+47
-11
lines changed

4 files changed

+47
-11
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 = "2549aa7e4edeeb04e9ae3a820558a494638e72673c470622138dbf7cd97f77fd"
5-
let version = "125.0.20240229050321"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.125.20240229050321/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "21010c831f188123c16528340abda2e6a1e658771db137693ba00bdd9ab16efb"
5+
let version = "125.0.20240302000149"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.125.20240302000149/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "daae59d8222389c703d2c45dff0780712e9e4fc5536c93165dd0261679317078"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.125.20240229050321/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "a855f4ff7831fc151cb39ac17beb4604a530302f2d40716d1ce998841970d4a8"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.125.20240302000149/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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- mode: Swift -*-
22

3-
// AUTOGENERATED BY glean_parser v11.1.0. DO NOT EDIT. DO NOT COMMIT.
3+
// AUTOGENERATED BY glean_parser v13.0.0. DO NOT EDIT. DO NOT COMMIT.
44

55
#if canImport(Foundation)
66
import Foundation
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 2, day: 29, hour: 5, minute: 20, second: 12))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 3, day: 2, hour: 0, minute: 13, second: 52))
2929
}
3030

3131
enum NimbusEvents {
@@ -1301,6 +1301,7 @@ extension GleanMetrics {
13011301
includeClientId: false,
13021302
sendIfEmpty: false,
13031303
preciseTimestamps: true,
1304+
includeInfoSections: true,
13041305
reasonCodes: []
13051306
)
13061307

@@ -1311,6 +1312,7 @@ extension GleanMetrics {
13111312
includeClientId: false,
13121313
sendIfEmpty: false,
13131314
preciseTimestamps: true,
1315+
includeInfoSections: true,
13141316
reasonCodes: []
13151317
)
13161318

@@ -1322,6 +1324,7 @@ extension GleanMetrics {
13221324
includeClientId: false,
13231325
sendIfEmpty: false,
13241326
preciseTimestamps: true,
1327+
includeInfoSections: true,
13251328
reasonCodes: []
13261329
)
13271330

@@ -1332,6 +1335,7 @@ extension GleanMetrics {
13321335
includeClientId: false,
13331336
sendIfEmpty: false,
13341337
preciseTimestamps: true,
1338+
includeInfoSections: true,
13351339
reasonCodes: []
13361340
)
13371341

@@ -1342,6 +1346,7 @@ extension GleanMetrics {
13421346
includeClientId: false,
13431347
sendIfEmpty: false,
13441348
preciseTimestamps: true,
1349+
includeInfoSections: true,
13451350
reasonCodes: []
13461351
)
13471352

@@ -1361,6 +1366,7 @@ extension GleanMetrics {
13611366
includeClientId: false,
13621367
sendIfEmpty: false,
13631368
preciseTimestamps: true,
1369+
includeInfoSections: true,
13641370
reasonCodes: []
13651371
)
13661372

@@ -1371,6 +1377,7 @@ extension GleanMetrics {
13711377
includeClientId: false,
13721378
sendIfEmpty: false,
13731379
preciseTimestamps: true,
1380+
includeInfoSections: true,
13741381
reasonCodes: []
13751382
)
13761383

swift-source/all/Generated/suggest.swift

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,13 @@ public func FfiConverterTypeSuggestGlobalConfig_lower(_ value: SuggestGlobalConf
725725

726726
public struct SuggestIngestionConstraints {
727727
public var maxSuggestions: UInt64?
728+
public var providers: [SuggestionProvider]?
728729

729730
// Default memberwise initializers are never public by default, so we
730731
// declare one manually.
731-
public init(maxSuggestions: UInt64? = nil) {
732+
public init(maxSuggestions: UInt64? = nil, providers: [SuggestionProvider]? = nil) {
732733
self.maxSuggestions = maxSuggestions
734+
self.providers = providers
733735
}
734736
}
735737

@@ -739,24 +741,30 @@ extension SuggestIngestionConstraints: Equatable, Hashable {
739741
if lhs.maxSuggestions != rhs.maxSuggestions {
740742
return false
741743
}
744+
if lhs.providers != rhs.providers {
745+
return false
746+
}
742747
return true
743748
}
744749

745750
public func hash(into hasher: inout Hasher) {
746751
hasher.combine(maxSuggestions)
752+
hasher.combine(providers)
747753
}
748754
}
749755

750756

751757
public struct FfiConverterTypeSuggestIngestionConstraints: FfiConverterRustBuffer {
752758
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SuggestIngestionConstraints {
753759
return try SuggestIngestionConstraints(
754-
maxSuggestions: FfiConverterOptionUInt64.read(from: &buf)
760+
maxSuggestions: FfiConverterOptionUInt64.read(from: &buf),
761+
providers: FfiConverterOptionSequenceTypeSuggestionProvider.read(from: &buf)
755762
)
756763
}
757764

758765
public static func write(_ value: SuggestIngestionConstraints, into buf: inout [UInt8]) {
759766
FfiConverterOptionUInt64.write(value.maxSuggestions, into: &buf)
767+
FfiConverterOptionSequenceTypeSuggestionProvider.write(value.providers, into: &buf)
760768
}
761769
}
762770

@@ -1327,6 +1335,27 @@ fileprivate struct FfiConverterOptionSequenceUInt8: FfiConverterRustBuffer {
13271335
}
13281336
}
13291337

1338+
fileprivate struct FfiConverterOptionSequenceTypeSuggestionProvider: FfiConverterRustBuffer {
1339+
typealias SwiftType = [SuggestionProvider]?
1340+
1341+
public static func write(_ value: SwiftType, into buf: inout [UInt8]) {
1342+
guard let value = value else {
1343+
writeInt(&buf, Int8(0))
1344+
return
1345+
}
1346+
writeInt(&buf, Int8(1))
1347+
FfiConverterSequenceTypeSuggestionProvider.write(value, into: &buf)
1348+
}
1349+
1350+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SwiftType {
1351+
switch try readInt(&buf) as Int8 {
1352+
case 0: return nil
1353+
case 1: return try FfiConverterSequenceTypeSuggestionProvider.read(from: &buf)
1354+
default: throw UniffiInternalError.unexpectedOptionalTag
1355+
}
1356+
}
1357+
}
1358+
13301359
fileprivate struct FfiConverterOptionTypeRemoteSettingsConfig: FfiConverterRustBuffer {
13311360
typealias SwiftType = RemoteSettingsConfig?
13321361

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- mode: Swift -*-
22

3-
// AUTOGENERATED BY glean_parser v11.1.0. DO NOT EDIT. DO NOT COMMIT.
3+
// AUTOGENERATED BY glean_parser v13.0.0. DO NOT EDIT. DO NOT COMMIT.
44

55
#if canImport(Foundation)
66
import Foundation
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 2, day: 29, hour: 5, minute: 20, second: 16))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 3, day: 2, hour: 0, minute: 13, second: 55))
2929
}
3030

3131
enum NimbusEvents {

0 commit comments

Comments
 (0)