Remove static_assertions

This commit is contained in:
Ruihan Li
2025-03-03 10:40:40 +08:00
committed by Tate, Hongliang Tian
parent 0c028a7d8c
commit 9e1c939a3f
18 changed files with 31 additions and 33 deletions

View File

@ -12,7 +12,6 @@ align_ext = { path = "../../../ostd/libs/align_ext" }
int-to-c-enum = { path = "../../libs/int-to-c-enum" }
component = { path = "../../libs/comp-sys/component" }
log = "0.4"
static_assertions = "1.1.0"
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] }
[lints]

View File

@ -5,8 +5,7 @@ use core::{
ops::{Add, Sub},
};
use ostd::Pod;
use static_assertions::const_assert;
use ostd::{const_assert, Pod};
/// The block index used in the filesystem.
pub type Bid = BlockId<BLOCK_SIZE>;