-
Notifications
You must be signed in to change notification settings - Fork 123
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
Failed to build rustc_codegen_nvvm #89
Comments
Hi, I have the same problem and I just noticed that in the file ".cargo\registry\src\github.com-1ecc6299db9ec823\rustc_codegen_nvvm-0.3.0\build.rs", the |
I've solved the problem by changing the toolchain from gnu to msvc. Maybe you can try this. |
Thank you for replying. I am using the nightly-msvc already, I solved it with the prebuild LLVM |
@locadani What steps did you to take to resolve the issue? |
I don't remember exactly because it was some time ago. I was running on linux and here is what I remember. Here: |
@locadani Thanks for the info. I had found the LLVM stuff in the Dockerfile and was working on that. I haven't made this work yet, but I'm sure at some point it will. {hopefully} |
Hello! I'm also trying to build the add example on Windows 11, but facing the error of
failed to run custom build command for `rustc_codegen_nvvm v0.3.0`
.It seems that there's some wrong with
-wd4141
-like command line options ong++.exe
.I've tried to use LLVM 7.1.0 built from source code using Visual Studio 2022, and that from this repo, but they're causing the same error.
I'm using g++ built by MSYS2 project, version 12.2.0.
Here is the complete error log:
The text was updated successfully, but these errors were encountered: