Fail to run RustOS.
Hoblovski opened this issue · 1 comments
Hoblovski commented
I was following the instructions in README.md of 0c9679b.
I was successful before executing make build
inside docker, which gives me an error message like
root@f4cb6008d280:/home/hob/Programs/RustOS/kernel# make build
Compiling core v0.0.0 (file:///rust/rust-riscv-rust-1.26.0-1-dev/src/libcore)
Compiling std_unicode v0.0.0 (file:///rust/rust-riscv-rust-1.26.0-1-dev/src/libstd_unicode)
Compiling alloc v0.0.0 (file:///rust/rust-riscv-rust-1.26.0-1-dev/src/liballoc)
Finished release [optimized + debuginfo] target(s) in 41.40 secs
Compiling compiler_builtins v0.1.0 (file:///rust/rust-riscv-rust-1.26.0-1-dev/src/libcompiler_builtins)
Finished release [optimized + debuginfo] target(s) in 4.29 secs
error: failed to load source for a dependency on `bit-allocator`
Caused by:
Unable to update file:///home/hob/Programs/RustOS/crate/bit-allocator
Caused by:
failed to read `/home/hob/Programs/RustOS/crate/bit-allocator/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Makefile:144: recipe for target 'kernel' failed
make: *** [kernel] Error 101
Inside docker, RustOS/
has only one entry kernel/
, no crate/
.
root@f4cb6008d280:/home/hob/Programs# ls RustOS/
kernel
Have I got anywhere wrong?
wangrunji0408 commented
I'm soooooo sorry that the instructions in README is not updated [Facepalm]
And I didn't push my local master [Grin][Sob]
Just pull it again [Facepalm]