Skip to content

Commit 4da5aea

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (137.0.20250221050225)
1 parent 8b382a7 commit 4da5aea

File tree

5 files changed

+39
-12
lines changed

5 files changed

+39
-12
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 = "cf6bada5991403fba0197b35661fce78c8cee71e3fc507753f7dce59eca8fd81"
5-
let version = "137.0.20250208050325"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.137.20250208050325/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "ee94c9d3c09897c07387a9cce812fedbc6a2c990fdcede2323f2894ee5b227d9"
5+
let version = "137.0.20250221050225"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.137.20250221050225/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "9b0e91d4d36d51829ff517a74422b9c000753429ee0750dca6b6d171c3482cae"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.137.20250208050325/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "08182570d283f7fa9d7587cabcadb3928ece7614610d9d79ea4ea49aabf176ee"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.137.20250221050225/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: 2025, month: 2, day: 8, hour: 5, minute: 15, second: 40))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 2, day: 21, hour: 5, minute: 23, second: 36))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/suggest.swift

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ public func FfiConverterTypeSuggestStore_lower(_ value: SuggestStore) -> UnsafeM
951951
*/
952952
public protocol SuggestStoreBuilderProtocol : AnyObject {
953953

954-
func build() throws -> SuggestStore
954+
func build(rsService: RemoteSettingsService?) throws -> SuggestStore
955955

956956
/**
957957
* Deprecated: this is no longer used by the suggest component.
@@ -1037,9 +1037,10 @@ public convenience init() {
10371037

10381038

10391039

1040-
open func build()throws -> SuggestStore {
1040+
open func build(rsService: RemoteSettingsService? = nil)throws -> SuggestStore {
10411041
return try FfiConverterTypeSuggestStore.lift(try rustCallWithError(FfiConverterTypeSuggestApiError.lift) {
1042-
uniffi_suggest_fn_method_suggeststorebuilder_build(self.uniffiClonePointer(),$0
1042+
uniffi_suggest_fn_method_suggeststorebuilder_build(self.uniffiClonePointer(),
1043+
FfiConverterOptionTypeRemoteSettingsService.lower(rsService),$0
10431044
)
10441045
})
10451046
}
@@ -3172,6 +3173,30 @@ fileprivate struct FfiConverterOptionTypeRemoteSettingsConfig: FfiConverterRustB
31723173
}
31733174
}
31743175

3176+
#if swift(>=5.8)
3177+
@_documentation(visibility: private)
3178+
#endif
3179+
fileprivate struct FfiConverterOptionTypeRemoteSettingsService: FfiConverterRustBuffer {
3180+
typealias SwiftType = RemoteSettingsService?
3181+
3182+
public static func write(_ value: SwiftType, into buf: inout [UInt8]) {
3183+
guard let value = value else {
3184+
writeInt(&buf, Int8(0))
3185+
return
3186+
}
3187+
writeInt(&buf, Int8(1))
3188+
FfiConverterTypeRemoteSettingsService.write(value, into: &buf)
3189+
}
3190+
3191+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SwiftType {
3192+
switch try readInt(&buf) as Int8 {
3193+
case 0: return nil
3194+
case 1: return try FfiConverterTypeRemoteSettingsService.read(from: &buf)
3195+
default: throw UniffiInternalError.unexpectedOptionalTag
3196+
}
3197+
}
3198+
}
3199+
31753200
#if swift(>=5.8)
31763201
@_documentation(visibility: private)
31773202
#endif
@@ -3325,6 +3350,8 @@ fileprivate struct FfiConverterSequenceTypeSuggestionProvider: FfiConverterRustB
33253350

33263351

33273352

3353+
3354+
33283355
/**
33293356
* Determines whether a "raw" sponsored suggestion URL is equivalent to a
33303357
* "cooked" URL. The two URLs are equivalent if they are identical except for
@@ -3387,7 +3414,7 @@ private var initializationResult: InitializationResult = {
33873414
if (uniffi_suggest_checksum_method_suggeststore_query_with_metrics() != 14851) {
33883415
return InitializationResult.apiChecksumMismatch
33893416
}
3390-
if (uniffi_suggest_checksum_method_suggeststorebuilder_build() != 42072) {
3417+
if (uniffi_suggest_checksum_method_suggeststorebuilder_build() != 26843) {
33913418
return InitializationResult.apiChecksumMismatch
33923419
}
33933420
if (uniffi_suggest_checksum_method_suggeststorebuilder_cache_path() != 55168) {

swift-source/all/Generated/suggestFFI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void*_Nonnull uniffi_suggest_fn_constructor_suggeststorebuilder_new(RustCallStat
334334
#endif
335335
#ifndef UNIFFI_FFIDEF_UNIFFI_SUGGEST_FN_METHOD_SUGGESTSTOREBUILDER_BUILD
336336
#define UNIFFI_FFIDEF_UNIFFI_SUGGEST_FN_METHOD_SUGGESTSTOREBUILDER_BUILD
337-
void*_Nonnull uniffi_suggest_fn_method_suggeststorebuilder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
337+
void*_Nonnull uniffi_suggest_fn_method_suggeststorebuilder_build(void*_Nonnull ptr, RustBuffer rs_service, RustCallStatus *_Nonnull out_status
338338
);
339339
#endif
340340
#ifndef UNIFFI_FFIDEF_UNIFFI_SUGGEST_FN_METHOD_SUGGESTSTOREBUILDER_CACHE_PATH

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: 2025, month: 2, day: 8, hour: 5, minute: 15, second: 43))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 2, day: 21, hour: 5, minute: 23, second: 38))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)