dub icon indicating copy to clipboard operation
dub copied to clipboard

Dub doesn't default the compiler to the only available

Open MrcSnm opened this issue 3 years ago • 0 comments
trafficstars

System information

  • dub version: 1.29.0
  • OS Platform and distribution: Windows 10
  • compiler version N/A

Bug Description

DUB doesn't infer default compiler

How to reproduce?

Put those configs on dub.json

"toolchainRequirements": {
		"dmd": "no",
		"gdc": "no"
	},

Run dub: Error ->

Installed dmd 2.100.0-dirty is not supported by test. Supported compiler(s):
  - ldc

Expected Behavior

Automatically add --compiler=ldc2 when it is the only available option

Logs

MrcSnm avatar Jun 04 '22 18:06 MrcSnm