Thread overview
[Issue 20016] JSON (-X) compilerInfo.platforms generation depends on params.isXXX for platform detection
Sep 04, 2020
Iain Buclaw
Sep 04, 2020
Dlang Bot
Dec 17, 2022
Iain Buclaw
September 04, 2020
https://issues.dlang.org/show_bug.cgi?id=20016

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Iain Buclaw from comment #0)
> These parameters will eventually become private to dmd/target.d, there is also no way for an interfacing compiler backend to their own platforms.
> 

To highlight why this is important:

1. It wrongly assumes that Windows can never be POSIX (i.e: Cygwin).
2. It wrongly assumes that non-Windows is always POSIX (i.e: RTEMS, Bare-metal)
3. Lacking many other platforms, which would be wrong to hard-code here.

--
September 04, 2020
https://issues.dlang.org/show_bug.cgi?id=20016

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@wilzbach created dlang/dmd pull request #11690 "Issue 20016 - JSON (-X) compilerInfo.platforms generation depends on params.isXXX for platform detection" mentioning this issue:

- Issue 20016 - JSON (-X) compilerInfo.platforms generation depends on params.isXXX for platform detection

  Introduce target_platform: Platform as a replacement for TARGET and
  is{Windows,Linux, ...}.

https://github.com/dlang/dmd/pull/11690

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20016

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=20016

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17914

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--