From 411f10a73d56b3cfb034426e76403c4bd9bd8bcf Mon Sep 17 00:00:00 2001 From: yufeng <321353225@qq.com> Date: Wed, 17 Apr 2024 00:05:34 +0800 Subject: [PATCH] inport arch crate through git --- kernel/Cargo.toml | 2 +- modules/devices/Cargo.toml | 2 +- modules/executor/Cargo.toml | 2 +- modules/frame_allocator/Cargo.toml | 2 +- modules/fs/Cargo.toml | 2 +- modules/hal/Cargo.toml | 2 +- modules/logging/Cargo.toml | 2 +- modules/procfs/Cargo.toml | 2 +- modules/ramfs/Cargo.toml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index eae6ef90..d432d240 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -20,7 +20,7 @@ logging = { path = "../modules/logging" } log = "0.4" devices = { path = "../modules/devices" } hal = { path = "../modules/hal" } -arch = { path = "../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } fs = { path = "../modules/fs" } fdt = "0.1.5" executor = { path = "../modules/executor" } diff --git a/modules/devices/Cargo.toml b/modules/devices/Cargo.toml index 2e709580..1a6314fd 100644 --- a/modules/devices/Cargo.toml +++ b/modules/devices/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [features] [dependencies] -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } fdt = "0.1.5" linkme = { version = "0.3.22", features = ["used_linker"] } log = "0.4" diff --git a/modules/executor/Cargo.toml b/modules/executor/Cargo.toml index c71c966c..ba7910a5 100644 --- a/modules/executor/Cargo.toml +++ b/modules/executor/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] crossbeam-queue = { version = "0.3.8", default-features = false, features = ["alloc"] } logging = { path = "../logging" } -arch = { path = "../../arch"} +arch = { git = "https://github.com/Byte-OS/arch.git" } sync = { path = "../sync" } frame_allocator = { path = "../frame_allocator" } log = "0.4" diff --git a/modules/frame_allocator/Cargo.toml b/modules/frame_allocator/Cargo.toml index 313f4c70..51f69e61 100644 --- a/modules/frame_allocator/Cargo.toml +++ b/modules/frame_allocator/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] bit_field = "0.10.1" log = "0.4" -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } sync = { path = "../sync" } \ No newline at end of file diff --git a/modules/fs/Cargo.toml b/modules/fs/Cargo.toml index 34ed8c6e..340b49ef 100644 --- a/modules/fs/Cargo.toml +++ b/modules/fs/Cargo.toml @@ -15,7 +15,7 @@ devfs = { path = "../devfs" } ramfs = { path = "../ramfs" } procfs = { path = "../procfs" } frame_allocator = { path = "../frame_allocator" } -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } [dependencies.fatfs] git = "https://github.com/byte-os/rust-fatfs.git" diff --git a/modules/hal/Cargo.toml b/modules/hal/Cargo.toml index 99dd7969..07730ff4 100644 --- a/modules/hal/Cargo.toml +++ b/modules/hal/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } log = "0.4" frame_allocator = { path = "../frame_allocator" } devices = { path = "../devices" } diff --git a/modules/logging/Cargo.toml b/modules/logging/Cargo.toml index af1680cc..1e6edbd1 100644 --- a/modules/logging/Cargo.toml +++ b/modules/logging/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" [dependencies] log = "0.4" -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } devices = { path = "../devices" } sync = { path = "../sync" } diff --git a/modules/procfs/Cargo.toml b/modules/procfs/Cargo.toml index dda96a1a..e3f0a224 100644 --- a/modules/procfs/Cargo.toml +++ b/modules/procfs/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] vfscore = { git = "https://github.com/Byte-OS/vfscore.git" } sync = { path = "../sync" } -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" } log = "0.4" \ No newline at end of file diff --git a/modules/ramfs/Cargo.toml b/modules/ramfs/Cargo.toml index bcb38340..498ef05a 100644 --- a/modules/ramfs/Cargo.toml +++ b/modules/ramfs/Cargo.toml @@ -10,4 +10,4 @@ vfscore = { git = "https://github.com/Byte-OS/vfscore.git" } log = "0.4" sync = { path = "../sync" } frame_allocator = { path = "../frame_allocator" } -arch = { path = "../../arch" } +arch = { git = "https://github.com/Byte-OS/arch.git" }