Skip to content

Commit

Permalink
use riscv crate from github
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrunji0408 committed Dec 28, 2018
1 parent a852c96 commit c65b735
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion crate/riscv
Submodule riscv deleted from c00e91
4 changes: 3 additions & 1 deletion kernel/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ uart_16550 = "0.1"
pc-keyboard = "0.3"

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies]
riscv = { path = "../crate/riscv" }
riscv = { git = "https://github.com/riscv-and-rust-and-decaf/riscv" }
bbl = { path = "../crate/bbl" }

[target.'cfg(target_arch = "aarch64")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion kernel/run-qemu-script-custom-llc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ fi
CNAME=riscv
if ! [[ -f outdir/${CNAME}.o ]]
then
rustc --crate-name riscv ../crate/riscv/src/lib.rs \
rustc --crate-name riscv $CARGO_PATH/git/checkouts/riscv-1e845b622ce46f1d/f7bea54*/src/lib.rs \
--color always --crate-type lib --emit=metadata,llvm-bc \
-C opt-level=1 \
-C debuginfo=2 \
Expand Down

0 comments on commit c65b735

Please sign in to comment.