Currently dub reports following message when the -m32mscoff flag is specified in dub.json.

```
-m32mscoff: Use --arch=x86/--arch=x86_64/--arch=x86_mscoff to specify the target architecture, e.g. 'dub build --arch=x86_64'
```

The problem is after the change the user is unable to build the project just with `dub build` (they need to specify the arch explicitly).

Is there a way to avoid the requirement for specifying the architecture explicitly or at least provide a meaningful message to the user that they should use `--arch=x86_mscoff` ?

Or a way to force dub to use VS linker instead of OPTLINK for x86 case?
Or a way to override the default architecture?

Reply via email to