mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
ci: fix failing musl jobs after 2684ef9 (#22667)
This commit is contained in:
parent
731d07d6d6
commit
d133d30b60
2
.github/workflows/macos_ci.yml
vendored
2
.github/workflows/macos_ci.yml
vendored
@ -100,5 +100,5 @@ jobs:
|
|||||||
run: v -skip-unused test vlib/builtin/ vlib/math vlib/flag/ vlib/os/ vlib/strconv/
|
run: v -skip-unused test vlib/builtin/ vlib/math vlib/flag/ vlib/os/ vlib/strconv/
|
||||||
- name: Test cross compilation to Linux
|
- name: Test cross compilation to Linux
|
||||||
run: |
|
run: |
|
||||||
v -d use_openssl -cc clang -showcc -gc none -o hi -os linux examples/hello_world.v
|
v -o hi -os linux examples/hello_world.v
|
||||||
v -d use_openssl -cc clang -showcc -gc none -o hi -os linux examples/veb/veb_example.v
|
v -d use_openssl -cc clang -showcc -gc none -o hi -os linux examples/veb/veb_example.v
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
module picoev
|
module picoev
|
||||||
|
|
||||||
#include <sys/epoll.h>
|
#include <sys/epoll.h>
|
||||||
#include <sys/cdefs.h> // needed for cross compiling to linux
|
|
||||||
|
$if !musl ? {
|
||||||
|
#include <sys/cdefs.h> // needed for cross compiling to linux
|
||||||
|
}
|
||||||
|
|
||||||
fn C.epoll_create(int) int
|
fn C.epoll_create(int) int
|
||||||
fn C.epoll_wait(int, voidptr, int, int) int
|
fn C.epoll_wait(int, voidptr, int, int) int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user