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
[chp 2 & rust] 是否可以将其在cargo工作空间重构? #52
Comments
rust-analyzer的问题是因为 |
感谢回复。加了 |
目前上述问题均已解决,但是无论是在Linux还是macOS下都出现了无法将应用bin链接到内核的问题。报错如下: error: Could not find incbin file '/../target/riscv64gc-unknown-none-elf/release/03priv_inst.bin'
|
note: instantiated into assembly here
--> <inline asm>:39:13 这只是其中之一,实际上五个应用链接时都会报错反馈错误。 |
我对cargo工作空间不太了解,你如果想基于它的话可能需要多尝试一下。比如在 |
好的,我再尝试一下。主要是想熟悉一下Cargo的特性,也因为电脑性能有限不太想跑虚拟机orz |
在做chp2的实验时,我尝试将user和os都置于cargo工作空间下,试图重构(非linux,macOS环境下)。但是遇到了如下问题:
.cargo/config.toml
文件如果分别置于members
目录(此处为/os
和user
)的话,无法编译通过。但如果将.cargo/config.toml
置于根目录的话user
可以编译通过。我的代码在这里,刚入门rust和学习操作系统,望指教。
The text was updated successfully, but these errors were encountered: