You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com//oscourse-tsinghua/rcore_plus.git --recursive
git checkout lab8-rv32
git submodule update --init --recursive
cd rcore_plus/riscv_pk
git checkout lab8-rv32
cd ../kernel
rustup override set nightly-2019-01-01
make run arch=riscv32
QA
Q: When you make build, you got compiler error "Can not find ~/.rustup/toolchains/nightly-2019-01-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins/". How to fix it?
A:
1. add one line below [dependencies] in Cargo.toml
compiler_builtins = { git = "https://github.com/rust-lang-nursery/compiler-builtins" }
2. in kernel DIR: make build, then cargo will download compiler_builtins in ~/.cargo
3. cp -r ~/.cargo/git/checkouts/compiler-builtins-ec094dc45a0179c8/61a3c5a89ddf/ ~/.rustup/toolchains/nightly-2019-01-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins/
History
This is a project of THU courses:
Operating System (2018 Spring)
Comprehensive Experiment of Computer System (2018 Summer)
Operating System Train (2018 Autumn)
Project wiki (internal access only): OS, CECS, OST