Re: DIP1000 spec?

2020-06-15 Thread Avrina via Digitalmars-d-learn
On Friday, 12 June 2020 at 12:49:08 UTC, Steven Schveighoffer wrote: I was just looking through the DIPs in the system, and noticed that DIP1000 is "superseded". I thought that was odd, since it's in the compiler as a switch and is a major driver of discussion and hope for memory safety. In

Re: Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

2020-06-15 Thread Per Nordlöw via Digitalmars-d-learn
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote: On Monday, 15 June 2020 at 10:54:47 UTC, Per Nordlöw wrote: What have I missed? My mistake, dub dustmite expects a path to an temporary directory suitable for dustmite (it copies the entire projet + all dependencies s.t.

Re: Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

2020-06-15 Thread Per Nordlöw via Digitalmars-d-learn
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote: My mistake, dub dustmite expects a path to an temporary directory suitable for dustmite (it copies the entire projet + all dependencies s.t. dustmite sees the entire source code). That path needs to be somewhere outside of the

Re: Upcoming refraction module in bolts [was: DUB project type support for Emacs Projectile]

2020-06-15 Thread jmh530 via Digitalmars-d-learn
On Monday, 15 June 2020 at 17:32:26 UTC, Jean-Louis Leroy wrote: [snip] Thanks, cool.

Upcoming refraction module in bolts [was: DUB project type support for Emacs Projectile]

2020-06-15 Thread Jean-Louis Leroy via Digitalmars-d-learn
On Monday, 15 June 2020 at 16:03:08 UTC, jmh530 wrote: On Monday, 15 June 2020 at 13:17:11 UTC, Jean-Louis Leroy wrote: [snip] Nah, I saw it. Well. My take on it has been ready for months but I had to wait for my employer's permission to publish it. They are very open-source friendly, and as

Re: Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

2020-06-15 Thread MoonlightSentinel via Digitalmars-d-learn
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote: And these unittests trigger the segfault: https://github.com/nordlow/phobos-next/blob/4a18833e226be0d3363fb07f02a7bcf531892e17/src/nxt/cyclic_array.d#L704-L712

Re: Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

2020-06-15 Thread MoonlightSentinel via Digitalmars-d-learn
On Monday, 15 June 2020 at 10:54:47 UTC, Per Nordlöw wrote: What have I missed? My mistake, dub dustmite expects a path to an temporary directory suitable for dustmite (it copies the entire projet + all dependencies s.t. dustmite sees the entire source code). That path needs to be somewhere

Re: DUB project type support for Emacs Projectile

2020-06-15 Thread jmh530 via Digitalmars-d-learn
On Monday, 15 June 2020 at 13:17:11 UTC, Jean-Louis Leroy wrote: [snip] Nah, I saw it. Well. My take on it has been ready for months but I had to wait for my employer's permission to publish it. They are very open-source friendly, and as a consequence there is a glut of requests for

Re: DUB project type support for Emacs Projectile

2020-06-15 Thread Jean-Louis Leroy via Digitalmars-d-learn
On Sunday, 14 June 2020 at 18:49:01 UTC, jmh530 wrote: On Sunday, 14 June 2020 at 17:19:05 UTC, Jean-Louis Leroy wrote: [snip] In case you missed it, I thought you would find this interesting https://forum.dlang.org/thread/dytpsnkqnmgzniiwk...@forum.dlang.org Nah, I saw it. Well. My take on

Re: Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

2020-06-15 Thread Per Nordlöw via Digitalmars-d-learn
On Friday, 12 June 2020 at 21:29:06 UTC, MoonlightSentinel wrote: You could try to reduce your code using Dustmite through dub. This should do the job IIRC: dub dustmite --compiler=dmd --build=unittest --compiler-status=139 See `dub dustmite --help` for more details. The call dub