Skip to content

Commit

Permalink
Fix test tail with mjit options for clang provided by Xcode 16
Browse files Browse the repository at this point in the history
```
clang: error: unknown argument '-emit-pch'; did you mean '-Xclang -emit-pch'?
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
Successful MJIT finish
```
  • Loading branch information
hsbt committed Nov 6, 2024
1 parent 19c93a5 commit 4b708bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mjit_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ make_pch(void)
{
const char *rest_args[] = {
# ifdef __clang__
"-Xclang",
"-emit-pch",
"-c",
# endif
Expand Down

0 comments on commit 4b708bc

Please sign in to comment.