Skip to content

A DUB project with only kernel files cannot be built #61

@ghost

Description

When I run dub on such a project, I get the error message below:

Performing "debug" build using ldc2 for x86_64.
dcompute-library ~master: building configuration "library"...
/usr/local/include/d/core/internal/array/equality.d(73,119): Error: can only call functions from other @compute modules in @compute code
/usr/local/include/d/core/internal/array/equality.d(79,23): Error: can only call functions from other @compute modules in @compute code
/usr/local/include/d/core/internal/array/equality.d(79,37): Error: can only call functions from other @compute modules in @compute code
ldc2 failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions