Skip to content

Allow dub to be run with OpenD compiler #3092

@SingingBush

Description

@SingingBush

I am aware that there may not be much incentive for this but it would be helpful if dub could be used with OpenD.

Currently if I attempt to use dub with the opend binary (dub --compiler=opend), it'll just error as it's an unknown compiler:

Error Unknown compiler: ../tools/opend-jan2026/bin/opend

I cloned the dub repo and created a OpenDCompiler class based off of the one for dmd with a few other changes and was able to get a build that would allow me to compile a dub based project using OpenD.

I'm happy to make a PR for it if it'll be considered for merging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions