[Issue 22020] New: The profile flag does not work in Windows.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 13 09:33:03 UTC 2021


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

          Issue ID: 22020
           Summary: The profile flag does not work in Windows.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: lempiji at gmail.com

I got an error when I ran it with the profile flag on Windows.

app.d:
```d
/+ dub.sdl:
    dependency "mir-algorithm" version="~>3.10.60"
+/
module app;

import std.stdio;
import mir.ndslice;

void main()
{
        auto s = iota(2, 3, 4);
        writeln(s);
}
```
run:
```
dub run --build=profile --single app.d
```

result:
```
Program exited with code -1073741819
```

--


More information about the Digitalmars-d-bugs mailing list