Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 26/05/2023 2:21 AM, ryuukk_ wrote: dub is too dumb, i think "sourceFiles" only accept .d Thats not true at all, its aware of what is a linker file and passes that off to the linker automatically:

Re: How to deal with interdependent dlang PRs?

2023-05-25 Thread Dennis via Digitalmars-d-learn
On Thursday, 25 May 2023 at 15:37:00 UTC, Quirin Schroll wrote: Is there a process? I can’t be the first one running into this. Doing it in 3 PRs is the process. This is one of the reasons why druntime was merged into dmd's repository. I remember someone saying that if you name the git

How to deal with interdependent dlang PRs?

2023-05-25 Thread Quirin Schroll via Digitalmars-d-learn
I have 2 PRs, [one on dlang/dlang.org](https://github.com/dlang/dlang.org/pull/3446) and [one on dlang/dmd](https://github.com/dlang/dmd/pull/15245). The latter fails a test because an example on the (current) dlang.org fails. The dlang.org PR changes the example, and fails likewise it’s

Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread ryuukk_ via Digitalmars-d-learn
On Thursday, 25 May 2023 at 08:37:40 UTC, John Xu wrote: For dmd, I can use a no_console.def file, which has: EXETYPE NT SUBSYSTEM WINDOWS Then `dmd my.d no_console.def` to hide console. But how do I realize it with dub.sdl ? Adding no_console.def to "sourceFiles", doesn't help.

Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread a11e99z via Digitalmars-d-learn
On Thursday, 25 May 2023 at 08:37:40 UTC, John Xu wrote: For dmd, I can use a no_console.def file, which has: EXETYPE NT SUBSYSTEM WINDOWS Then `dmd my.d no_console.def` to hide console. But how do I realize it with dub.sdl ? Adding no_console.def to "sourceFiles", doesn't help.

Re: ImportC for libuv

2023-05-25 Thread a11e99z via Digitalmars-d-learn
On Wednesday, 24 May 2023 at 18:49:02 UTC, a11e99z wrote: someone might find it interesting how to use ImportC in life: [https://issues.dlang.org/show_bug.cgi?id=23935](https://issues.dlang.org/show_bug.cgi?id=23935) ADD pragma pack issue

How hide console in dub.sdl under windows 11?

2023-05-25 Thread John Xu via Digitalmars-d-learn
For dmd, I can use a no_console.def file, which has: EXETYPE NT SUBSYSTEM WINDOWS Then `dmd my.d no_console.def` to hide console. But how do I realize it with dub.sdl ? Adding no_console.def to "sourceFiles", doesn't help.