Re: Beta 2.090.0
On Thursday, 26 December 2019 at 14:16:50 UTC, Steven Schveighoffer wrote: DRT switches are runtime switches ./test --DRT-testmode=run-main Aaah. Did not know about runtime switches...
Re: Beta 2.090.0
On Thursday, 26 December 2019 at 10:20:27 UTC, berni44 wrote: On Sunday, 22 December 2019 at 15:23:32 UTC, Martin Nowak wrote: As usual please report any bugs at https://issues.dlang.org Not sure, if this is a bug, but --DRT-testmode=run-main seems to have no effect here. Example: --- import std.stdio; unittest { assert(1==1); } void main(string[] argv) { writeln("X"); } --- $> dmd -unittest -g -run test.d 1 unittests passed $> dmd -unittest --DRT-testmode=run-main -g -run test.d DRT switches are runtime switches ./test --DRT-testmode=run-main What you did was to pass the DRT switch to DMD itself. -Steve
Re: LDC 1.19.0
On Thursday, 26 December 2019 at 12:41:14 UTC, Joseph Rushton Wakeling wrote: On Friday, 20 December 2019 at 18:30:37 UTC, H. S. Teoh wrote: LLVM upgraded to v9.0.1, incl. experimental AVR backend. Is that an upstream release? I don't see a 9.0.1 in the LDC LLVM fork: https://github.com/ldc-developers/llvm/releases Oh, I see. The details are covered in the LDC 1.19.0 release notes (there's a repo switch): https://github.com/ldc-developers/ldc/releases/tag/v1.19.0
Re: LDC 1.19.0
On Friday, 20 December 2019 at 18:30:37 UTC, H. S. Teoh wrote: LLVM upgraded to v9.0.1, incl. experimental AVR backend. Is that an upstream release? I don't see a 9.0.1 in the LDC LLVM fork: https://github.com/ldc-developers/llvm/releases
Re: Beta 2.090.0
On Sunday, 22 December 2019 at 15:23:32 UTC, Martin Nowak wrote: As usual please report any bugs at https://issues.dlang.org Not sure, if this is a bug, but --DRT-testmode=run-main seems to have no effect here. Example: --- import std.stdio; unittest { assert(1==1); } void main(string[] argv) { writeln("X"); } --- $> dmd -unittest -g -run test.d 1 unittests passed $> dmd -unittest --DRT-testmode=run-main -g -run test.d 1 unittests passed In both cases main is not executed. I thought, in the second one it should...