Re: Comping a Musl-linked druntime & phobos?

2022-08-24 Thread Mathias LANG via Digitalmars-d-learn
On Thursday, 25 August 2022 at 01:45:50 UTC, TheGag96 wrote: Hi, all. Has anyone had any success compiling a Musl-linked druntime and phobos? I haven't had any luck so far. I'm running Linux Mint x64. Somewhat related - using `-target=x86_64-linux-musl` with dmd master doesn't even set the ve

Comping a Musl-linked druntime & phobos?

2022-08-24 Thread TheGag96 via Digitalmars-d-learn
Hi, all. Has anyone had any success compiling a Musl-linked druntime and phobos? I haven't had any luck so far. I'm running Linux Mint x64. Somewhat related - using `-target=x86_64-linux-musl` with dmd master doesn't even set the version `CRuntime_Musl`. I asked about this in the Discord, and

How do you work with lst files?

2022-08-24 Thread Christian Köstlin via Digitalmars-d-learn
I want to ask around how you from the dlang community work with .lst coverage files? For me those files are really one of the best formats as they are (really, in contrast to some xml things) human readable and someone added them to codecov. My setup at the moment consists of a small tool that

Re: How to build DMD/Phobos on Windows

2022-08-24 Thread rikki cattermole via Digitalmars-d-learn
For dmd you use build.d that is in the repository. For phobos win64.mak (used for 32bit by default as well): "# Makefile to build D runtime library phobos{64,32mscoff}.lib for Windows MSVC" So MSVC make. Beyond that idk, but its starting point (oh and druntime is now in dmd repo, so ugh...

How to build DMD/Phobos on Windows

2022-08-24 Thread Dmitry Olshansky via Digitalmars-d-learn
It's been a long time but I've found some spare hours I want to devote to finally updating our std.uni to Unicode 14 (soon to migrate to 15 I guess). I downloaded source code of DMD/Phobos as usual and dropped them in the src folder of unpacked 7z distribution archive. Now time to build. Sinc

Re: How to escape control characters?

2022-08-24 Thread Salih Dincer via Digitalmars-d-learn
On Tuesday, 23 August 2022 at 23:17:21 UTC, Salih Dincer wrote: The nice thing here is that you can change the format specifiers as you wish. Actually, both structures could be combined: ```d struct EscapedString { string[1] str; this(string str) @nogc pure nothrow @safe { this