Skip to content

WSL2 Docker Container 中 make run 失败 #2

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

Closed
ccycong opened this issue Sep 9, 2021 · 3 comments
Closed

WSL2 Docker Container 中 make run 失败 #2

ccycong opened this issue Sep 9, 2021 · 3 comments

Comments

@ccycong
Copy link

ccycong commented Sep 9, 2021

78988f731.png)

  • make docker

image

  • docker 内 uname -a
    image

  • rustc工具链

image

make run 输出很长 我贴了文件 麻烦您下载查看

@ccycong
Copy link
Author

ccycong commented Sep 9, 2021

安装了ubuntu1804-LTS虚拟机并修改 os/src/main.rs后
make run成功


需要修改 os/src/main.rs,删除第六行
#![feature(const_in_array_repeat_expressions)]
原因为在rustc 1.57.0-nightly (fdf65053e 2021-09-07) 中报错[ feature has been removed ] 导致make run 失败

删除改行代码的影响不明(目前不了解rust相关知识),我会在rCorev3官方库中重提该issus

此外,在wsl2中
尝试过
wsl --update
wsl --update --rollback 对wsl2 内核进行升级 降级
使用 各个版本的rust toolchain

均以失败告终

@ccycong
Copy link
Author

ccycong commented Sep 9, 2021

rcore-os/rCore-Tutorial-v3#28
已有相关pr ,但是并未合入main分支

@dinghao188
Copy link
Owner

rcore-os/rCore-Tutorial-v3#28
已有相关pr ,但是并未合入main分支

嗯,等他们改吧

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

2 participants