Skip to content

Commit

Permalink
platform: add support for LoongArch
Browse files Browse the repository at this point in the history
  • Loading branch information
liushuyu committed Sep 29, 2023
1 parent 2ea8838 commit 04bc9a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/dub/platform.d
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ enum string archCheck = q{
version(Alpha) ret ~= "alpha";
version(Alpha_SoftFP) ret ~= "alpha_softfp";
version(Alpha_HardFP) ret ~= "alpha_hardfp";
version(LoongArch32) ret ~= "loongarch32";
version(LoongArch64) ret ~= "loongarch64";
version(LoongArch_SoftFloat) ret ~= "loongarch_softfloat";
version(LoongArch_HardFloat) ret ~= "loongarch_hardfloat";
return ret;
};

Expand Down

0 comments on commit 04bc9a3

Please sign in to comment.