Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit b827e1f

Browse files
committed
compile C files via aarch64-macos zig target
1 parent d7e1997 commit b827e1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- os: macos-latest
4242
target: aarch64-apple-darwin
43-
cc: zig cc
43+
cc: zig cc --target=aarch64-macos
4444
ar: ar
4545
zig: true
4646
lib_file: libruby_parser_c.a

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: build for mac m1 (zig)
4848
os: macos-latest
4949
target: aarch64-apple-darwin
50-
cc: zig cc
50+
cc: zig cc --target=aarch64-macos
5151
ar: ar
5252
zig: true
5353
run: |

0 commit comments

Comments
 (0)