Skip to content

Commit 43c1cc0

Browse files
committed
win arm64
1 parent 7cdf841 commit 43c1cc0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
- name: Tests
2727
run: |
2828
xmake f -a ${{ matrix.arch }}
29-
xmake -b unitest
29+
xmake -v -b unitest
3030
xmake r unitest -co_sched_num 4

xmake.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ set_symbols("debug") -- dbg symbols
88

99
if is_plat("windows") then
1010
set_optimize("fastest")
11-
add_cxflags("/EHsc")
11+
if not is_arch("arm64") then
12+
add_cxflags("/EHsc")
13+
end
1214
add_ldflags("/SAFESEH:NO")
1315
elseif is_plat("mingw") then
1416
add_ldflags("-static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lwinpthread -Wl,-Bdynamic", {force = true})

0 commit comments

Comments
 (0)