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

feat: add contents about env setup on macOS #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

werifu
Copy link

@werifu werifu commented Aug 8, 2022

添加了macOS下实验环境的安装指南,已在M1 pro MacBook Pro 与 x86_64 MacBook Pro 下做过验证,均可通过 make testx 的测试。

@darionyaphet
Copy link

你的 Rust 什么版本?rustc 1.64.0 报错

error[E0463]: can't find crate for `core`
  |
  = note: the `riscv64gc-unknown-none-elf` target may not be installed
  = help: consider downloading the target with `rustup target add riscv64gc-unknown-none-elf`

error[E0463]: can't find crate for `compiler_builtins`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [kernel] Error 101

@werifu
Copy link
Author

werifu commented Oct 22, 2022

@darionyaphet 我是 1.62.1,上面这个报错看着是没装 rv 的 target ,你试过 rustup target add riscv64gc-unknown-none-elf 了吗

@darionyaphet
Copy link

试过 但并没效果 还是这个错误? 请问我需要清理一下吗?

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

Successfully merging this pull request may close these issues.

2 participants