Skip to content

Commit

Permalink
revert the previous commit, update linkme to 0.3.31
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Dec 20, 2024
1 parent 0aab899 commit 16a27d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
env:
qemu-version: 8.2.0
rust-toolchain: nightly-2024-12-12
arceos-apps: 'beb8d3d'
arceos-apps: '66d6a80'

jobs:
unit-test:
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/axhal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ default = []
[dependencies]
log = "=0.4.21"
cfg-if = "1.0"
linkme = "0.3"
linkme = "0.3.31"
bitflags = "2.6"
static_assertions = "1.1.0"
kernel_guard = "0.1"
Expand Down
4 changes: 2 additions & 2 deletions modules/axhal/src/trap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ use page_table_entry::MappingFlags;
pub use linkme::distributed_slice as register_trap_handler;

/// A slice of IRQ handler functions.
#[unsafe(def_trap_handler)]
#[def_trap_handler]
pub static IRQ: [fn(usize) -> bool];

/// A slice of page fault handler functions.
#[unsafe(def_trap_handler)]
#[def_trap_handler]
pub static PAGE_FAULT: [fn(VirtAddr, MappingFlags, bool) -> bool];

#[allow(unused_macros)]
Expand Down

0 comments on commit 16a27d7

Please sign in to comment.