-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
nightly: Cross compiling to x86_64-pc-windows-gnu fails #14392
Comments
@SecTheBit You should not need to specify more than This is not an issue with cargo, except insofar as Please try again with |
You'll also need to set |
From your original screenshot, when you do:
This added the target for the default toolchain, which in your case is As for supporting things like rsbegin with Closing as this doesn't look like it is a cargo issue, but instead a misunderstanding of how rustup works. If you have further questions about how to set up your environment, I would suggest using one of the user forums such as https://users.rust-lang.org/. |
This command helped me to resolve the issue |
Problem
I tried to compile a simple Hello World program (generated using cargo new abcd) on ubuntu machine for x86_64-pc-windows-gnu using nightly toolchain, but its giving error. (refer to below screenshots)
I also tried to include the standard library for resolving the above error using following command
cargo +nightly build --target=x86_64-pc-windows-gnu -Z build-std=std,panic_abort
Output:
Steps
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: