[Issue 15031] New: rdmd should force rebuild when --compiler changes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 8 18:45:17 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15031

          Issue ID: 15031
           Summary: rdmd should force rebuild when --compiler changes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: tools
          Assignee: nobody at puremagic.com
          Reporter: luis at luismarques.eu

$ cat test.d
version(LDC) static assert(false, "oops");
void main() {}

$ rdmd --compiler=dmd test.d 
$ rdmd --compiler=ldc2 test.d 
$ touch test.d
$ rdmd --compiler=ldc2 test.d 
test.d(1): Error: static assert  "oops"
Failed: ["ldc2", "-v", "-o-", "test.d", "-I."]

--


More information about the Digitalmars-d-bugs mailing list