Closed andrewlalis closed 1 year ago
Known compiler issue.
A possible workaround:
https://forum.dlang.org/post/tna5a5$pra$2@digitalmars.com
https://github.com/ldc-developers/ldc/issues/3864
I'm not finding anything for dmd on N.G.
Thanks @rikkimax, for the sake of this issue, I'll note that adding
export MACOSX_DEPLOYMENT_TARGET=12
to my environment solved the issue.
System information
Bug Description
Running
dub test
fails in the linking step.How to reproduce?
brew install dub
dub test
in that project.Expected Behavior
I would expect the tests to be linked and run without issue. For example, my project's CI is able to run unittests successfully in this job: https://github.com/andrewlalis/streams/actions/runs/5099678155/jobs/9167527072 with MacOS 12.6.5
Logs