mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:43:56 +00:00
Use #[expect(lint)]
, not #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
1899646391
commit
0dca168717
@ -27,7 +27,7 @@ pub const DEFAULT_STACK_SIZE_IN_PAGES: u32 = 128;
|
||||
pub static KERNEL_STACK_SIZE: usize = STACK_SIZE_IN_PAGES as usize * PAGE_SIZE;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[allow(dead_code)]
|
||||
#[expect(dead_code)]
|
||||
pub struct KernelStack {
|
||||
kvirt_area: KVirtArea<Tracked>,
|
||||
end_vaddr: Vaddr,
|
||||
|
Reference in New Issue
Block a user