Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZR233 committed Nov 27, 2024
1 parent 629a056 commit 5f2d369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/axhal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation = "https://arceos-org.github.io/arceos/axhal/index.html"

[features]
smp = []
alloc = ["dep:dma-api"]
alloc = []
fp_simd = []
paging = ["axalloc", "page_table_multiarch"]
irq = []
Expand All @@ -37,7 +37,7 @@ page_table_multiarch = { version = "0.4", optional = true }
axlog = { workspace = true }
axconfig = { workspace = true }
axalloc = { workspace = true, optional = true }
dma-api = { version = "0.1", optional = true }
dma-api = { version = "0.1" }

[target.'cfg(target_arch = "x86_64")'.dependencies]
x86 = "0.52"
Expand Down
1 change: 0 additions & 1 deletion modules/axhal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ pub mod irq;
#[cfg(feature = "paging")]
pub mod paging;

#[cfg(feature = "alloc")]
mod dma;

/// Console input and output.
Expand Down

0 comments on commit 5f2d369

Please sign in to comment.