From 10e0473d9b1eb513075775312c3b53786d618684 Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Wed, 4 Dec 2024 03:19:34 +0000 Subject: [PATCH 1/2] build: Fix build error with x86_64 crate The imcoming x86_64 0.15.2 requires recent version of nightly Rust by default. Signed-off-by: Akira Moroo --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3949a4f2..a1a06c97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,9 @@ chrono = { version = "0.4", default-features = false } [target.'cfg(target_arch = "x86_64")'.dependencies] uart_16550 = "0.3.2" -x86_64 = "0.15.1" +x86_64 = { version = "0.15.1", default-features = false, features = [ + "instructions", +] } [target.'cfg(target_arch = "riscv64")'.dependencies] chrono = { version = "0.4", default-features = false } From c7eb09aa4d480424f2363cdd1a23adda8c4611ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 03:00:38 +0000 Subject: [PATCH 2/2] build: Bump x86_64 from 0.15.1 to 0.15.2 Bumps [x86_64](https://github.com/rust-osdev/x86_64) from 0.15.1 to 0.15.2. - [Changelog](https://github.com/rust-osdev/x86_64/blob/master/Changelog.md) - [Commits](https://github.com/rust-osdev/x86_64/compare/v0.15.1...v0.15.2) --- updated-dependencies: - dependency-name: x86_64 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3805fd5f..ff0da898 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -649,9 +649,9 @@ dependencies = [ [[package]] name = "x86_64" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bc79523af8abf92fb1a970c3e086c5a343f6bcc1a0eb890f575cbb3b45743df" +checksum = "0f042214de98141e9c8706e8192b73f56494087cc55ebec28ce10f26c5c364ae" dependencies = [ "bit_field", "bitflags 2.6.0", diff --git a/Cargo.toml b/Cargo.toml index a1a06c97..19535b10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ chrono = { version = "0.4", default-features = false } [target.'cfg(target_arch = "x86_64")'.dependencies] uart_16550 = "0.3.2" -x86_64 = { version = "0.15.1", default-features = false, features = [ +x86_64 = { version = "0.15.2", default-features = false, features = [ "instructions", ] }