Skip to content

Commit 6cc4b70

Browse files
committed
Update chrono to 0.4.40.
Pairs with https://bugzilla.mozilla.org/show_bug.cgi?id=1951517
1 parent e1b42aa commit 6cc4b70

File tree

8 files changed

+27
-5
lines changed

8 files changed

+27
-5
lines changed

Diff for: Cargo.lock

+9-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: DEPENDENCIES.md

+1
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ The following text applies to code linked from these dependencies:
597597
[version_check](https://github.com/SergioBenitez/version_check),
598598
[winapi-x86_64-pc-windows-gnu](https://github.com/retep998/winapi-rs),
599599
[winapi](https://github.com/retep998/winapi-rs),
600+
[windows-link](https://github.com/microsoft/windows-rs),
600601
[windows-sys](https://github.com/microsoft/windows-rs),
601602
[windows-targets](https://github.com/microsoft/windows-rs),
602603
[windows_x86_64_gnu](https://github.com/microsoft/windows-rs),

Diff for: components/external/glean

Submodule glean deleted from 46c99d6

Diff for: components/nimbus/src/stateful/evaluator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ pub struct CalculatedAttributes {
123123
pub region: Option<String>,
124124
}
125125

126+
#[allow(deprecated)] // Bug 1960256 - use of deprecated chrono functions.
126127
pub fn get_calculated_attributes(
127128
installation_date: Option<i64>,
128129
db_path: String,

Diff for: components/nimbus/src/stateful/nimbus_client.rs

+1
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ impl NimbusClient {
429429
Ok(res)
430430
}
431431

432+
#[allow(deprecated)] // Bug 1960256 - use of deprecated chrono functions.
432433
fn get_installation_date(&self, db: &Database, writer: &mut Writer) -> Result<DateTime<Utc>> {
433434
// we first check our context
434435
if let Some(context_installation_date) = self.app_context.installation_date {

Diff for: megazords/full/DEPENDENCIES.md

+1
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ The following text applies to code linked from these dependencies:
539539
[uuid](https://github.com/uuid-rs/uuid),
540540
[vcpkg](https://github.com/mcgoo/vcpkg-rs),
541541
[version_check](https://github.com/SergioBenitez/version_check),
542+
[windows-link](https://github.com/microsoft/windows-rs),
542543
[windows-sys](https://github.com/microsoft/windows-rs),
543544
[windows-targets](https://github.com/microsoft/windows-rs),
544545
[windows_x86_64_gnu](https://github.com/microsoft/windows-rs),

Diff for: megazords/full/android/dependency-licenses.xml

+4
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ the details of which are reproduced below.
484484
<name>Apache License 2.0: version_check</name>
485485
<url>https://github.com/SergioBenitez/version_check/blob/master/LICENSE-APACHE</url>
486486
</license>
487+
<license>
488+
<name>Apache License 2.0: windows-link</name>
489+
<url>https://github.com/microsoft/windows-rs/blob/master/license-apache-2.0</url>
490+
</license>
487491
<license>
488492
<name>Apache License 2.0: windows-sys</name>
489493
<url>https://github.com/microsoft/windows-rs/blob/master/license-mit</url>

Diff for: tools/dependency_summary.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,15 @@
939939
"fixup": "https://github.com/sfackler/rust-openssl",
940940
}
941941
},
942+
"windows-link": {
943+
"license_url": {
944+
"fixup": "https://github.com/microsoft/windows-rs/blob/master/license-apache-2.0",
945+
},
946+
"license_file": {
947+
"fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/license-apache-2.0",
948+
},
949+
950+
}
942951
}
943952

944953
# Sets of common licence file names, by license type.
@@ -1012,7 +1021,7 @@ def __init__(self, metadata):
10121021
if info["name"] in PACKAGE_METADATA_FIXUPS:
10131022
fixups = PACKAGE_METADATA_FIXUPS[info["name"]]
10141023
for key, change in fixups.items():
1015-
if info.get(key, None) != change["check"]:
1024+
if info.get(key) != change.get("check"):
10161025
assert False, "Fixup check failed for {}.{}: {} != {}".format(
10171026
info["name"], key, info.get(key, None), change["check"]
10181027
)

0 commit comments

Comments
 (0)