-
Notifications
You must be signed in to change notification settings - Fork 67
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
Error thrown when using Workspace project #54
Comments
Thanks a lot for reporting! Unfortunately, supporting workspaces is not quite trivial. For example, it makes config parsing much more complex (e.g. should the bootimage config live in the Cargo.toml in the project root or in the kernel subdirectory?). I tried to find a simple way to fix this bug, but it appears to be quite difficult to add this in a backwards compatible way. I'm therefore planning to release a new breaking version that cleans up the crate and removes old functionality such as the |
So I invested the past hours to rewrite the crate. The result is available in the Could you try the new version to test whether it fixes your problem? To install it, execute:
|
Good news, it worked! Many thanks for that. I also had a look to the branch. There has been a lot of rewriting. You've been quite active in few hours. |
Great to hear that! |
I just released the new code as version 0.8.0, in case you want to switch back to the official release. |
I just did it and it actually corrected a bug when it didn't find the test executable :). Many thanks again. |
Hi,
First of all, I want to say big thanks because your blog that explains quite well how to start with kernel OS using Rust! This language is always compared to C language but it's very rare to find an interesting blog about how to write kernel OS in Rust.
When I'm trying to play with A Minimal Rust Kernel example, I actually got an error from cargo bootimage. I don't really know where the error comes from but I've setup a workspace project compares to your example such that my directory looks like:
The top
Cargo.toml
:The
.cargo/config
:The
src/dummy_os/Cargo.toml
:The
src/dummy_os/main.rs
:Here's the error:
The text was updated successfully, but these errors were encountered: