-
-
Notifications
You must be signed in to change notification settings - Fork 170
Create rust-toolchain.toml #433
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
Conversation
Hmm, makes the tests fail since it prevents installing the stable channel. Is there a point to installing stable if the project needs nightly to work? |
@JonahPlusPlus We've switched to using stable Rust for compiling the That being said, |
@GabrielMajeri Hmm, I don't think so, I tried using xtask to build and it failed (complained about missing stuff), I had to override to nightly and add the component manually. |
That's weird. @nicholasbishop is this expected behavior, or a possible bug in |
Does sound like a possible xtask bug. @JonahPlusPlus could you post the error you get (with the nightly override removed)? |
Hmmm, actually, I guess the problem was with me running the
I guess you guys use Linux? I am running Windows with WSL, but since you can build UEFI apps without |
Interesting! I am indeed on Linux, and not very familiar with WSL. The error messages are surprising to me though; I would have assumed |
@nicholasbishop I think I've figured out why |
Ah, that makes sense for how those errors could appear, thanks :) I just set up a quick test with WSL2 on a Windows machine and was able to run |
@nicholasbishop I guess I should clarify: I have WSL 2, but I was building on Windows, not WSL. If I run Edit: |
On that note however, why are you guys using |
Thanks, makes sense. Assuming that only the
The background there is that we need tools to run a variety of commands, not just the build command. Running the qemu tests is the most notable one; it takes a fair amount of code to set that all that up. Originally this code was written in Python, but I rewrote it in Rust (to get all the usual nice checks that Rust provides). Since that |
Ah, makes sense. What I did for my project was use I'm not sure how |
I've put up a PR that hopefully addresses the Windows compilation issue. |
Just to make it easier to run the repo, I added a toolchain file to setup using nightly and rust-src, so people don't have to worry about doing it manually.