Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译rcore-fs失败,请问如何解决 #88

Open
feitboiling opened this issue Oct 7, 2020 · 1 comment
Open

编译rcore-fs失败,请问如何解决 #88

feitboiling opened this issue Oct 7, 2020 · 1 comment

Comments

@feitboiling
Copy link

zhu@ubuntu:~/qemu-4.2.0/rCore-Tutorial$ sudo make
make[1]: 进入目录“/home/zhu/qemu-4.2.0/rCore-Tutorial/user”
Installing rcore-fs-fuse
Updating git repository https://github.com/rcore-os/rcore-fs
Installing rcore-fs-fuse v0.1.0 (https://github.com/rcore-os/rcore-fs#6df6cd24)
Updating crates.io index
Compiling libc v0.2.79
Compiling log v0.4.11
Compiling winapi-build v0.1.1
Compiling cfg-if v0.1.10
Compiling proc-macro2 v1.0.24
Compiling proc-macro2 v0.4.30
Compiling unicode-xid v0.1.0
Compiling winapi v0.2.8
Compiling unicode-xid v0.2.1
Compiling syn v1.0.42
Compiling syn v0.15.44
Compiling spin v0.5.2
Compiling bitflags v1.2.1
Compiling unicode-width v0.1.8
Compiling unicode-segmentation v1.6.0
Compiling either v1.6.1
Compiling radium v0.3.0
Compiling utf8-ranges v0.1.3
Compiling strsim v0.8.0
Compiling proc-macro-hack v0.5.18
Compiling regex-syntax v0.3.9
Compiling vec_map v0.8.2
Compiling static_assertions v0.3.4
Compiling ansi_term v0.11.0
Compiling kernel32-sys v0.2.2
Compiling textwrap v0.11.0
Compiling heck v0.3.1
Compiling bitvec v0.17.4
Compiling log v0.3.9
Compiling quote v1.0.7
Compiling rcore-fs v0.1.0 (/home/zhu/.cargo/git/checkouts/rcore-fs-7fdf258332f6146d/6df6cd2/rcore-fs)
error[E0554]: #![feature] may not be used on the stable release channel
--> rcore-fs/src/lib.rs:2:1
|
2 | #![feature(async_closure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try rustc --explain E0554.
error: could not compile rcore-fs.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile rcore-fs-fuse v0.1.0 (https://github.com/rcore-os/rcore-fs#6df6cd24), intermediate artifacts can be found at /tmp/cargo-installunMg5N

Caused by:
build failed
Makefile:22: recipe for target 'dependency' failed
make[1]: *** [dependency] Error 101
make[1]: 离开目录“/home/zhu/qemu-4.2.0/rCore-Tutorial/user”
Makefile:2: recipe for target 'run' failed
make: *** [run] Error 2

@ghost
Copy link

ghost commented Dec 28, 2020

Seems like it only compiles with rust nightly
curl https://sh.rustup.rs -sSf | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant