correct AArch64 detection and make consistent with ARM
1 parent 4418377 commit 20abce56f368a08f9e69fec7a4e5c69dc20447be
@Cameron Ross Cameron Ross authored on 25 Aug 2018
Showing 1 changed file
View
2
■■■
source/dub/platform.d
string[] ret;
version(X86) ret ~= "x86";
version(X86_64) ret ~= "x86_64";
version(ARM) ret ~= "arm";
version(AArch64) ret ~= "aarch64";
version(ARM_Thumb) ret ~= "arm_thumb";
version(ARM_SoftFloat) ret ~= "arm_softfloat";
version(ARM_HardFloat) ret ~= "arm_hardfloat";
version(ARM64) ret ~= "arm64";
version(PPC) ret ~= "ppc";
version(PPC_SoftFP) ret ~= "ppc_softfp";
version(PPC_HardFP) ret ~= "ppc_hardfp";
version(PPC64) ret ~= "ppc64";