mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 19:33:23 +00:00
Remove static_assertions
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
0c028a7d8c
commit
9e1c939a3f
@ -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]
|
||||
|
@ -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>;
|
||||
|
Reference in New Issue
Block a user