Add default version identifier for dmd, and set the target platform in params. https://dlang.org/spec/version.html#predefined-versions
/////////////////////////////////////////////////////////////////////////////
Describes a back-end target. At present it is incomplete, but in the future it should grow to contain most or all target machine and target O/S specific information.
Functions and variables specific to interfacing with extern(C) ABI.
Functions and variables specific to interface with extern(C++) ABI.
Functions and variables specific to interface with extern(Objective-C) ABI.
Handles target-specific parameters
In order to allow for cross compilation, when the compiler produces a binary for a different platform than it is running on, target information needs to be abstracted. This is done in this module, primarily through Target.
Note: While DMD itself does not support cross-compilation, GDC and LDC do. Hence, this module is (sometimes heavily) modified by them, and contributors should review how their changes affect them.