CT Information about target CPU and Related cross-compile

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Apr 13 13:35:20 PDT 2016


On Wednesday, 13 April 2016 at 17:27:54 UTC, Johan Engelen wrote:
> 
> Possible __traits(targetXXX) that I can think of:
> - targetArch ("aarch64", "x86", "x86_64",...)
> - targetOS ("Linux", "Win32",...)

Forgot that there are already predefined versions for these.



More information about the digitalmars-d-ldc mailing list