Skip to content

Commit

Permalink
refactor(crates): move some crates from modules folder into crates fo…
Browse files Browse the repository at this point in the history
…lder
  • Loading branch information
ChenRuiwei committed Apr 8, 2024
1 parent 658cccf commit 2ea0bc3
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[workspace]
members = ["kernel", "arch", "config", "modules/*", "driver", "user"]
members = [
"kernel",
"arch",
"config",
"modules/*",
"driver",
"user",
"crates/*",
]
resolver = "2"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
sync = { path = "../sync/" }
sync = { path = "../../modules/sync/" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config = { path = "../config/" }
sync = { path = "../modules/sync/" }
memory = { path = "../modules/memory/" }
systype = { path = "../modules/systype/" }
irq_count = { path = "../modules/irq_count/" }
irq_count = { path = "../crates/irq_count/" }

log = "0.4"
virtio-drivers = { version = "0.7" }
Expand Down
4 changes: 2 additions & 2 deletions kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ executor = { path = "../modules/executor/" }
systype = { path = "../modules/systype/" }
memory = { path = "../modules/memory/" }
async_utils = { path = "../modules/async_utils/" }
irq_count = { path = "../modules/irq_count/" }
recycle_allocator = { path = "../modules/recycle_allocator/" }
irq_count = { path = "../crates//irq_count/" }
recycle_allocator = { path = "../crates/recycle_allocator/" }

cfg-if = "1.0"
buddy_system_allocator = "0.9"
Expand Down

0 comments on commit 2ea0bc3

Please sign in to comment.