Skip to content

redub build --compiler=ldc2 of minimal dub.sdl with just mir dependency fails #44

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

Open
bcarneal opened this issue May 5, 2025 · 2 comments

Comments

@bcarneal
Copy link

bcarneal commented May 5, 2025

redub build --compiler=ldc2 of a newly created dub.sdl with only a mir dependency failed

The first error reads:
myHomeDirectory/.dub/packages/mir-core/1.7.1/mir-core/source/mir/algebraic.d(1474): Error: pure function mir.algebraic.Algebraic!(Ion_).Algebraic.opEquals!().opEquals cannot call impure function mir.annotated.U!(Algebraic!(Ion_)).Annotated.opEquals

dub build --compiler=ldc2 succeeds.

@MrcSnm
Copy link
Owner

MrcSnm commented May 5, 2025

dlang/dmd#20916
#38

Files in redub are specified in a different order than dub. You can also use redub build --compiler=ldc2 --breadth for simulating dub's behavior

Unfortunately I'm not seeing any movement to fix that

@bcarneal
Copy link
Author

bcarneal commented May 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants