diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bde877ea..424d24b09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: - cron: '0 22 * * *' # every day at 22:00 UTC env: - rust_toolchain: nightly-2022-07-20 + rust_toolchain: nightly-2022-08-05 jobs: workspace: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9f1363549..c25b1f245 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,7 +5,7 @@ on: pull_request: env: - rust_toolchain: nightly-2022-07-20 + rust_toolchain: nightly-2022-08-05 jobs: doc: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7045d960..586eec293 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: - cron: '0 22 * * *' # every day at 22:00 UTC env: - rust_toolchain: nightly-2022-07-20 + rust_toolchain: nightly-2022-08-05 qemu_version: 7.0.0 jobs: diff --git a/Cargo.lock b/Cargo.lock index de1046957..54b5cf6b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,6 +28,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "android_system_properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" +dependencies = [ + "libc", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -55,9 +64,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.6.1" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319" +checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28" dependencies = [ "concurrent-queue", "event-listener", @@ -327,14 +336,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.19" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +checksum = "3f725f340c3854e3cb3ab736dc21f0cca183303acea3b3ffec30f141503ac8eb" dependencies = [ - "libc", + "iana-time-zone", + "js-sys", "num-integer", "num-traits", "time 0.1.44", + "wasm-bindgen", "winapi", ] @@ -429,6 +440,12 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "core-foundation-sys" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" + [[package]] name = "cortex-a" version = "7.4.0" @@ -876,6 +893,19 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +[[package]] +name = "iana-time-zone" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808cf7d67cf4a22adc5be66e75ebdf769b3f2ea032041437a7061f97a63dad4b" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "js-sys", + "wasm-bindgen", + "winapi", +] + [[package]] name = "idna" version = "0.2.3" @@ -1006,9 +1036,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.127" +version = "0.2.131" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40" [[package]] name = "libgit2-sys" @@ -1510,7 +1540,7 @@ dependencies = [ "rcore-fs-sefs", "rcore-fs-sfs", "structopt", - "time 0.3.12", + "time 0.3.13", ] [[package]] @@ -1708,18 +1738,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" +checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e" +checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" dependencies = [ "proc-macro2", "quote", @@ -1927,11 +1957,10 @@ dependencies = [ [[package]] name = "time" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74b7cc93fc23ba97fde84f7eea56c55d1ba183f495c6715defdfc7b9cb8c870f" +checksum = "db76ff9fa4b1458b3c7f077f3ff9887394058460d21e634355b273aaf11eea45" dependencies = [ - "js-sys", "libc", "num_threads", ] @@ -2363,9 +2392,9 @@ dependencies = [ [[package]] name = "x2apic" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5bcdaa687122b3e150cedbee16157a71ae5e9d0baeedd3c3f1188af2c74efc" +checksum = "32b6a3e030cfc71d614954e1de6dcb09e40bf1437f620c27b4526f978bee912e" dependencies = [ "bit", "bitflags", diff --git a/docs/for-developers.md b/docs/for-developers.md index 64e7ef641..a6db40a6b 100644 --- a/docs/for-developers.md +++ b/docs/for-developers.md @@ -22,10 +22,8 @@ 仓库使用的工具链虽然是 nightly 的,但将伴随 stable 工具链的版本更新而更新。每当 stable 工具链更新,就将默认工具链更新到最接近最新 stable 的版本,周期约为 6 周。参考[版本信息网站](https://forge.rust-lang.org/)记录的最新稳定版分叉发生时间,使用对应的 nightly 即可。 -下一次更新的版本为 1.63(2022-08-05),进行更新的日期为 2022 年 8 月 11 日。 +下一次更新的版本为 1.64(2022-08-05),进行更新的日期为 2022 年 9 月 22 日。 -> 最新稳定版本是 1.62(2022-06-24)。但由于需要同时编译的 rboot 项目已经更新到了 2022-07-20,所以目前就保持这个版本。 -> > 本文档记录的预期更新时间将随着每次工具链更新而更新。 ### 使用的不稳定特性 diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c56a59e05..08b9f2fa9 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] profile = "minimal" -channel = "nightly-2022-07-20" +channel = "nightly-2022-08-05" components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]