-
Notifications
You must be signed in to change notification settings - Fork 9
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
Compile in release mode only when build is in release mode #6
Conversation
Interesting, it doesn't crash on my side, albeit I have same versions as Travis, where it fails... BTW, I think it still might try to use release assembly, because the path is also specified at: |
Yeah I guess |
Can you please provide an output of I suspect Rust generates 6.0 bitcode that can't be processed by |
Yep, I'm using |
Thanks for details! The file seems fine, it's indeed an LLVM bitcode. Which proves assumption about LLVM version issues... I'll add more strict version requirements for |
Sorry for the delay, I'm afraid it's blocked by the denzp/rust-ptx-linker#11 because debug mode is de-facto default mode during development. I think it's important to get the linker updated and published first. |
No problem! Thanks for helping! |
Thanks for the PR! I updated |
Fixes #5
I feel like the intent is right, but I'm getting a bad-looking error from
xargo
when it tries to compile without the--release
flag:Any idea how to solve that?