From a44231435f70d987851329f57706297b7af3ef62 Mon Sep 17 00:00:00 2001 From: WangRunji Date: Thu, 5 Jul 2018 14:17:30 +0800 Subject: [PATCH] Fork crate `riscv` as a submodule --- .gitmodules | 3 +++ Cargo.toml | 2 +- crate/riscv | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 crate/riscv diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d697db2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "crate/riscv"] + path = crate/riscv + url = https://github.com/riscv-and-rust-and-decaf/riscv.git diff --git a/Cargo.toml b/Cargo.toml index dacb029..83b36b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ bit-allocator = { path = "crate/bit-allocator" } ucore-memory = { path = "crate/memory" } [target.riscv32i-unknown-none.dependencies] -riscv = { git = "https://github.com/riscv-rust/riscv" } +riscv = { path = "crate/riscv" } bbl = { path = "crate/bbl" } [build-dependencies] diff --git a/crate/riscv b/crate/riscv new file mode 160000 index 0000000..87bcdd8 --- /dev/null +++ b/crate/riscv @@ -0,0 +1 @@ +Subproject commit 87bcdd8bab940f37c01ea34b62f2fb2d0317ca88