On Thu, 24 Jul 2014 05:14:05 GMT, Mark Isaacson wrote:

How can I get dub to automatically detect that I should be building for x86_64? Right now I need to pass --arch=x86_64 each time.

I am running dub from a 64-bit cygwin terminal running on 64-bit Windows.

This depends on the compiler. By default, no flags are passed to the compiler and whatever it chooses to compile for is used by DUB. But it looks like adding a global configuration to override the default would be a good idea. I've added a ticket: #383