Skip to content

Commit 39a76f2

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (140.0.20250521050419)
1 parent 74cb104 commit 39a76f2

File tree

13 files changed

+2925
-37
lines changed

13 files changed

+2925
-37
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 = "e2dca8181ac03409c93fd66f303b1d23304c4526f1e7f91b442b380ac2273fd7"
5-
let version = "140.0.20250516050428"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250516050428/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "9c4af497247bc410e874ee0fb19f13679f6b3fea5bab436a0fe32a47f74f5140"
5+
let version = "140.0.20250521050419"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250521050419/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "0bc1ac21f27d22e78dfde8672d88837ce72fc2b4d6960f83dea02fe6ca5e7652"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250516050428/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "ea2efbee85f901b5f7580f0ae81494a698d8be04a32c98e84dc706ee2fffe2b9"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250521050419/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: 5, day: 16, hour: 5, minute: 19, second: 28))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 5, day: 21, hour: 5, minute: 18, second: 53))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/errorsupport.swift

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,25 @@ fileprivate struct FfiConverterString: FfiConverter {
457457

458458

459459

460+
/**
461+
* Application error reporting trait
462+
*
463+
* The application that's consuming application-services implements this via a UniFFI callback
464+
* interface, then calls `set_application_error_reporter()` to setup a global
465+
* ApplicationErrorReporter.
466+
*/
460467
public protocol ApplicationErrorReporter: AnyObject {
461468

469+
/**
470+
* Send an error report to a Sentry-like error reporting system
471+
*
472+
* type_name should be used to group errors together
473+
*/
462474
func reportError(typeName: String, message: String)
463475

476+
/**
477+
* Send a breadcrumb to a Sentry-like error reporting system
478+
*/
464479
func reportBreadcrumb(message: String, module: String, line: UInt32, column: UInt32)
465480

466481
}
@@ -643,16 +658,16 @@ private let initializationResult: InitializationResult = {
643658
if bindings_contract_version != scaffolding_contract_version {
644659
return InitializationResult.contractVersionMismatch
645660
}
646-
if (uniffi_error_support_checksum_func_set_application_error_reporter() != 33757) {
661+
if (uniffi_error_support_checksum_func_set_application_error_reporter() != 5026) {
647662
return InitializationResult.apiChecksumMismatch
648663
}
649-
if (uniffi_error_support_checksum_func_unset_application_error_reporter() != 11689) {
664+
if (uniffi_error_support_checksum_func_unset_application_error_reporter() != 48726) {
650665
return InitializationResult.apiChecksumMismatch
651666
}
652-
if (uniffi_error_support_checksum_method_applicationerrorreporter_report_error() != 40350) {
667+
if (uniffi_error_support_checksum_method_applicationerrorreporter_report_error() != 35278) {
653668
return InitializationResult.apiChecksumMismatch
654669
}
655-
if (uniffi_error_support_checksum_method_applicationerrorreporter_report_breadcrumb() != 34686) {
670+
if (uniffi_error_support_checksum_method_applicationerrorreporter_report_breadcrumb() != 15136) {
656671
return InitializationResult.apiChecksumMismatch
657672
}
658673

swift-source/all/Generated/megazord_ios.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ module MozillaRustComponents {
1616
header "sync15FFI.h"
1717
header "syncmanagerFFI.h"
1818
header "tabsFFI.h"
19+
header "tracingFFI.h"
1920
export *
2021
}

swift-source/all/Generated/rust_log_forwarder.swift

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -441,18 +441,12 @@ fileprivate struct FfiConverterString: FfiConverter {
441441

442442
public struct Record {
443443
public var level: Level
444-
/**
445-
* The target field from the Rust log crate. Usually the Rust module name, however log! calls can manually override the target name.
446-
*/
447444
public var target: String
448445
public var message: String
449446

450447
// Default memberwise initializers are never public by default, so we
451448
// declare one manually.
452-
public init(level: Level,
453-
/**
454-
* The target field from the Rust log crate. Usually the Rust module name, however log! calls can manually override the target name.
455-
*/target: String, message: String) {
449+
public init(level: Level, target: String, message: String) {
456450
self.level = level
457451
self.target = target
458452
self.message = message
@@ -758,7 +752,7 @@ fileprivate struct FfiConverterOptionCallbackInterfaceAppServicesLogger: FfiConv
758752
/**
759753
* Set the logger to forward to.
760754
*
761-
* Pass in null to disable logging.
755+
* Pass in None to disable logging.
762756
*/
763757
public func setLogger(logger: AppServicesLogger?) {try! rustCall() {
764758
uniffi_rust_log_forwarder_fn_func_set_logger(
@@ -768,6 +762,7 @@ public func setLogger(logger: AppServicesLogger?) {try! rustCall() {
768762
}
769763
/**
770764
* Set the maximum log level filter. Records below this level will not be sent to the logger.
765+
* You must set this exactly once, before you call `set_logger()`
771766
*/
772767
public func setMaxLevel(level: Level) {try! rustCall() {
773768
uniffi_rust_log_forwarder_fn_func_set_max_level(
@@ -791,13 +786,13 @@ private let initializationResult: InitializationResult = {
791786
if bindings_contract_version != scaffolding_contract_version {
792787
return InitializationResult.contractVersionMismatch
793788
}
794-
if (uniffi_rust_log_forwarder_checksum_func_set_logger() != 4525) {
789+
if (uniffi_rust_log_forwarder_checksum_func_set_logger() != 8393) {
795790
return InitializationResult.apiChecksumMismatch
796791
}
797-
if (uniffi_rust_log_forwarder_checksum_func_set_max_level() != 753) {
792+
if (uniffi_rust_log_forwarder_checksum_func_set_max_level() != 57087) {
798793
return InitializationResult.apiChecksumMismatch
799794
}
800-
if (uniffi_rust_log_forwarder_checksum_method_appserviceslogger_log() != 39206) {
795+
if (uniffi_rust_log_forwarder_checksum_method_appserviceslogger_log() != 59046) {
801796
return InitializationResult.apiChecksumMismatch
802797
}
803798

0 commit comments

Comments
 (0)