-
Notifications
You must be signed in to change notification settings - Fork 27
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
A DUB project with only kernel files cannot be built #61
Comments
What are you trying to do? Can you minimise the project that causes this problem? That line (73)is It seems that the semantic analysis delves into |
The minimum project is like below:
and the content of @compute(CompileFor.deviceOnly)
module testkernel;
import ldc.dcompute;
import dcompute.std.index;
@kernel void testKernel() {} |
I tried marking This error seems to be caused by not only call of And marking the closure
|
ldc-developers/ldc#3253 fixes the |
can you use |
|
Now this issue is fixed, but another issue has occurred. LDC does not crush, but it says "Error: no object files". |
When I run
dub
on such a project, I get the error message below:The text was updated successfully, but these errors were encountered: