Skip to content

Commit

Permalink
Add mips64el and loongarch64 architecture (#43)
Browse files Browse the repository at this point in the history
* Add mips64el architecture

* Add loongarch64 architecture

---------

Co-authored-by: silent-dxx <[email protected]>
  • Loading branch information
silent-dxx and silent-dxx authored Nov 24, 2023
1 parent da9b0a1 commit 0c93d94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions binding/lua_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ namespace bee::lua_platform {
lua_pushstring(L, "wasm32");
#elif defined(__wasm64__)
lua_pushstring(L, "wasm64");
#elif defined(__mips64)
lua_pushstring(L, "mips64el");
#elif defined(__loongarch64)
lua_pushstring(L, "loongarch64");
#else
lua_pushstring(L, "unknown");
#endif
Expand Down

0 comments on commit 0c93d94

Please sign in to comment.