-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
https://os.phil-opp.com/minimal-rust-kernel/#Target%20Specification #464
Comments
followed exact instructions, could not "cargo xbuild --target x86_64-blog_os.json". still "error[E0463]: can't find crate for |
Hmm, do you have your code online somewhere so that I can test it? Are you seeing the "Compiling core v0.0.0 (file:///…/rust/src/libcore)" lines? |
I have the exact main.rs and Cargo.toml as yours, except maybe I'm on Windows 10. and no, I didnt see that line. |
Could you give me the full output that you see? Maybe the problem is that you try to use a stable rust compiler instead of a nightly compiler. |
@1600 Were you able to solve your problem? |
Hi, I think I might have the same problem. What should I comment for reduplication? Just for reference, I use the nightly compiler as my default. |
Hi @le-bananafish, could you give me the full command line output and the content of your main.rs? |
Hi @phil-opp main.rs
command output:
I'm using the rls-plugin for vscode and it's also giving me this weird error:
P.S. I haven't submitted code blocks on GitHub yet apologies for the formatting. |
@le-bananafish Seems like you're running into rust-lang/cargo#6139, because your username contains a space. We tried our best to work around it, but we found no working way to escape the space. I hope that this gets fixed from the cargo side soon. |
@phil-opp Oh lol well that's a funny problem to have. I guess I shouldn't have put a space in my username... Thanks anyway! |
@le-bananafish You're welcome! |
Closing this issue since there already exists a comment thread for the "A Minimal Rust Kernel" post. @1600 If you're still having this problem please open a new issue! |
A Minimal Rust Kernel | Writing an OS in Rust
https://os.phil-opp.com/minimal-rust-kernel/#Target%20Specification
The text was updated successfully, but these errors were encountered: