[Issue 22020] The profile flag does not work in Windows.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 19 15:59:30 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22020
--- Comment #6 from lempiji at gmail.com ---
I was able to minimize the reproducing code, dub was not involved.
app.d:
```
import std.stdio;
void main()
{
auto arr = new byte[10];
writeln(arr);
}
```
test.d:
```
module test;
struct Test {
string msg;
}
```
build&run:
```
dmd.exe -lib -of"test.lib" -profile test.d
dmd.exe -c -of"app.obj" -profile app.d
dmd.exe -of"app.exe" app.obj test.lib
app.exe
```
--
More information about the Digitalmars-d-bugs
mailing list