Skip to content

Commit bc6f370

Browse files
committed
chore(deps): update
1 parent cc71482 commit bc6f370

File tree

9 files changed

+7
-11
lines changed

9 files changed

+7
-11
lines changed

docs/labs/0x00/tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ use core::arch::asm;
338338
use uefi::prelude::*;
339339

340340
#[entry]
341-
fn efi_main(image: uefi::Handle, mut system_table: SystemTable<Boot>) -> Status {
342-
uefi::helpers::init(&mut system_table).expect("Failed to initialize utilities");
341+
fn efi_main(image: uefi::Handle, system_table: SystemTable<Boot>) -> Status {
342+
uefi::helpers::init().expect("Failed to initialize utilities");
343343
log::set_max_level(log::LevelFilter::Info);
344344

345345
let std_num = /* FIXME */;

docs/labs/0x01/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ println!("{}", record.args());
501501

502502
### Panic 处理
503503

504-
在拥有了日志输出的能力之后可以对 panic 进行更好的处理,以便在 panic 时输出更加详细的信息。代码中已经为大家启用了 `#![feature(panic_info_message)]` 特性,并且默认给出了一个 `error!` 的输出。
504+
在拥有了日志输出的能力之后可以对 panic 进行更好的处理,以便在 panic 时输出更加详细的信息。代码中默认给出了一个 `error!` 的输出。
505505

506506
`src/utils/macros.rs` 中,你可以选择按照自己的预期修改 `panic_handler` 的实现。
507507

docs/wiki/linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ wsl --install -d Ubuntu
8888

8989
```bash
9090
$ rustc --version
91-
rustc 1.79.0 (129f3b996 2024-06-10)
91+
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
9292
9393
$ qemu-system-x86_64 --version
9494
QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1)
@@ -104,7 +104,7 @@ GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
104104

105105
```bash
106106
$ rustc --version
107-
rustc 1.79.0 (129f3b996 2024-06-10)
107+
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
108108
109109
$ qemu-system-x86_64 --version
110110
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.15)

src/0x00/pkg/boot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
66

77
[dependencies]
8-
uefi = { version = "0.28", default-features = false }
8+
uefi = { version = "0.31", default-features = false }
99
log = "0.4"
1010

1111
[features]

src/0x01/pkg/kernel/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![feature(naked_functions)]
44
#![feature(abi_x86_interrupt)]
55
#![feature(type_alias_impl_trait)]
6-
#![feature(panic_info_message)]
76

87
#[macro_use]
98
extern crate log;

src/0x02/pkg/kernel/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![feature(abi_x86_interrupt)]
55
#![feature(alloc_error_handler)]
66
#![feature(type_alias_impl_trait)]
7-
#![feature(panic_info_message)]
87
#![feature(map_try_insert)]
98
#![allow(clippy::missing_safety_doc)]
109
#![allow(clippy::result_unit_err)]

src/0x03/pkg/kernel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ bitflags = "2.3"
1717
bit_field = "0.10"
1818
libm = "0.2"
1919
linked_list_allocator = "0.10"
20-
volatile = "0.5"
20+
volatile = "0.6"

src/0x04/pkg/lib/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![cfg_attr(not(test), no_std)]
22
#![allow(dead_code, unused_imports)]
3-
#![feature(panic_info_message)]
43
#![feature(alloc_error_handler)]
54

65
#[macro_use]

src/0x07/pkg/lib/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![allow(dead_code, unused_imports)]
2-
#![feature(panic_info_message)]
32
#![feature(alloc_error_handler)]
43
#![cfg_attr(not(test), no_std)]
54

0 commit comments

Comments
 (0)