mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
enable alpine/musl CI tests
This commit is contained in:
committed by
Alexander Medvednikov
parent
3b7466a13d
commit
7545ea709a
@@ -89,22 +89,13 @@ pub fn eprintln(s string) {
|
||||
if isnil(s.str) {
|
||||
panic('eprintln(NIL)')
|
||||
}
|
||||
$if mac {
|
||||
$if !windows {
|
||||
C.fflush(stdout)
|
||||
C.fflush(stderr)
|
||||
C.fprintf(stderr, '%.*s\n', s.len, s.str)
|
||||
C.fflush(stderr)
|
||||
return
|
||||
}
|
||||
$if linux {
|
||||
C.fprintf(stderr, '%.*s\n', s.len, s.str)
|
||||
C.fflush(stderr)
|
||||
return
|
||||
}
|
||||
$if freebsd {
|
||||
C.fprintf(stderr, '%.*s\n', s.len, s.str)
|
||||
C.fflush(stderr)
|
||||
return
|
||||
}
|
||||
|
||||
// TODO issues with stderr and cross compiling for Linux
|
||||
println(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user