Skip to content

Commit

Permalink
build: Split x86_64 specific dependencies
Browse files Browse the repository at this point in the history
This change is to prepare for multiple architecture support.

Signed-off-by: Akira Moroo <[email protected]>
  • Loading branch information
retrage committed Oct 23, 2022
1 parent f025c4d commit 9188a0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ efi-var = []

[dependencies]
bitflags = "1.3.2"
x86_64 = "0.14.10"
atomic_refcell = "0.1.8"
r-efi = "4.1.0"
uart_16550 = "0.2.18"
linked_list_allocator = "0.10.4"

[target.'cfg(target_arch = "x86_64")'.dependencies]
uart_16550 = "0.2.18"
x86_64 = "0.14.10"

[dev-dependencies]
dirs = "4.0.0"
rand = "0.8.5"
Expand Down

0 comments on commit 9188a0d

Please sign in to comment.