Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/main' into archInfo
  • Loading branch information
elinor-fung committed Jun 13, 2022
commit b16aba0487ec27a033754f50522050edd475844d
1 change: 1 addition & 0 deletions src/native/corehost/hostmisc/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ namespace pal
arm64,
armv6,
loongarch64,
ppc64le,
s390X,
x64,
x86,
Expand Down
4 changes: 3 additions & 1 deletion src/native/corehost/hostmisc/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,13 @@ pal::string_t get_replaced_char(const pal::string_t& path, pal::char_t match, pa

namespace
{

const pal::char_t* s_all_architectures[] =
{
_X("arm"),
_X("arm64"),
_X("armv6"),
_X("loongarch64"),
_X("ppc64le"),
_X("s390x"),
_X("x64"),
_X("x86")
Expand All @@ -226,6 +226,8 @@ pal::architecture get_current_arch()
return pal::architecture::loongarch64;
#elif defined(TARGET_S390X)
return pal::architecture::s390X;
#elif defined(TARGET_POWERPC64)
return pal::architecture::ppc64le;
#else
#error "Unknown target"
#endif
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.