Skip to content

Commit c65b735

Browse files
committed
use riscv crate from github
1 parent a852c96 commit c65b735

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

crate/riscv

Lines changed: 0 additions & 1 deletion
This file was deleted.

kernel/Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kernel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ uart_16550 = "0.1"
4848
pc-keyboard = "0.3"
4949

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

5454
[target.'cfg(target_arch = "aarch64")'.dependencies]

kernel/run-qemu-script-custom-llc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ fi
454454
CNAME=riscv
455455
if ! [[ -f outdir/${CNAME}.o ]]
456456
then
457-
rustc --crate-name riscv ../crate/riscv/src/lib.rs \
457+
rustc --crate-name riscv $CARGO_PATH/git/checkouts/riscv-1e845b622ce46f1d/f7bea54*/src/lib.rs \
458458
--color always --crate-type lib --emit=metadata,llvm-bc \
459459
-C opt-level=1 \
460460
-C debuginfo=2 \

0 commit comments

Comments
 (0)